numpy.where(x.mask) should do it. -=- Olivier
Le 3 février 2012 14:02, Howard <how...@renci.org> a écrit : > Is there a method that gives an array of all the array indices of a > masked array where the mask is True? I've been looking through the docs and > don't see it yet... > > Thanks > Howard > -- > Howard Lander <how...@renci.org> > Senior Research Software Developer > Renaissance Computing Institute (RENCI) <http://www.renci.org> > The University of North Carolina at Chapel Hill > Duke University > North Carolina State University > 100 Europa Drive > Suite 540 > Chapel Hill, NC 27517 > 919-445-9651 > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion