[SciPy-user] remove duplicate points...

fred fredmfp@gmail....
Thu Apr 24 15:34:45 CDT 2008


Pierre GM a écrit :

> With that line, you get a view of the ndarray z as a record array, each record 
> consisting of two integer fields named a and b.
> http://www.scipy.org/RecordArrays
> The names don't matter, actually, they're just placeholders in our case. As 
> you have a nx4 array, each record (viz, set of coordinates) should have 4 
> fields (x,y,z,value, for example), so use somethng like 
> [('a',int),('b',int),('c',int),('d',int)]
I do like this one :-)
Many thanks to all of you !


Cheers,

-- 
Fred


More information about the SciPy-user mailing list