[Numpy-discussion] Grid indexing

Wolfgang Kerzendorf wkerzendorf@googlemail....
Sat Feb 26 02:36:48 CST 2011


Hello,

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 
array?


Cheers
    Wolfgang


More information about the NumPy-Discussion mailing list