[Numpy-discussion] Condensing array...
Fri Feb 25 03:36:42 CST 2011
I have a big array (44 GB) I want to decimate.
But this array has a lot of NaN (only 1/3 has value, in fact, so 2/3 of
If I "basically" decimate it (a la NumPy, ie data[::nx, ::ny, ::nz], for
instance), the decimated array will also have a lot of NaN.
What I would like to have in one cell of the decimated array is the
nearest (for instance) value in the big array. This is what I call a
How could I do that, a la NumPy?
More information about the NumPy-Discussion