[Numpy-discussion] feedback request: proposal to add masks to the core ndarray

Gael Varoquaux gael.varoquaux@normalesup....
Sat Jun 25 09:53:14 CDT 2011


On Sat, Jun 25, 2011 at 08:27:57AM -0600, Charles R Harris wrote:
>    Could you expand a bit on what sort of data you have and how you deal with
>    it. Where does it come from, how is it stored on disk, what do you do with
>    it? That sort of thing.

3D and 4D images. Mostly stored on disk in domain-specific files (nifti
files) althought I some-times store the arrays that I use in numpy files.
I do a lot of statistical analysis on it, mostly multivariate (machine
learning stuff, ICA, and what not).

Mask and missang values can mean too things: the mask is often used to
design which part of the images in interesting (i.e. the part of the
image that is in the brain). Sometime I also have missing values, because
in a time-series some data has been corrupted. I don't think that the
same implementation of masking/missing-value with fit both needs.

G


More information about the NumPy-Discussion mailing list