阅读背景:

Python:计算与周围坐标相关的坐标百分比

来源:互联网 

I am having a dictionary with 3D tuple coordinates as keys and string scores as values. Now I want to get a new list/dict/array of coordinates which should be the percent value of the coordinate and all surrounding coordinates in a 12x12x12 box. Is there a faster way than to grab the coordinates from a dictionary like in my first approach? (sparse1 is the dictionary with the original coordinates). In the code sparse1 is only an extraction of coordinates from one Tube (because i dont know how to add more characters here :( ): I am having a dictionary with 3D tuple coordina




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: