[Numpy-discussion] Grid indexing

Wolfgang Kerzendorf wkerzendorf at googlemail.com
Sat Feb 26 03:36:48 EST 2011


I have a n dimensional grid. The grids axes are linear but not 
intergers. Let's say I want the value in gridcell [3.2,-5.6,0.01]. Is 
there an easy way to transform the index? Do I have to write my own 
class to accomplish this. Is there an easy way in numpy to accomplish 
this. Can I give functions to transform the index somehow to the numpy 


More information about the NumPy-Discussion mailing list