[SciPy-User] Masked array along one axis

Gustavo Goretkin gustavo.goretkin@gmail....
Sat Oct 1 03:34:11 CDT 2011


I want to use a 2D array to store a set of points. There are n points in d
dimensions, so the array is n-by-d.

I want to use the masked array features of NumPy, but it doesn't make sense
to mask only some some components of a point. Either one point is entirely
masked or it isn't. In other words, the mask is n-by-1 (or equivalent up to
singleton dimensions).

Does the masked array support this masking only in some axes?

Thanks,
Gustavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111001/f0a3f42e/attachment.html 


More information about the SciPy-User mailing list