[SciPy-Dev] views and mask NA

Charles R Harris charlesr.harris@gmail....
Sat Jan 21 11:07:37 CST 2012


Oops, wrong list... Chuck

On Fri, Jan 20, 2012 at 9:21 PM, Charles R Harris <charlesr.harris@gmail.com
> wrote:

> Hi All,
>
> I'd like some feedback on how mask NA should interact with views. The
> immediate problem is how to deal with the real and imaginary parts of
> complex numbers. If the original has a masked value, it should show up as
> masked in the real and imaginary parts. But what should happen on
> assignment to one of the masked views? This should probably clear the NA in
> the real/imag part, but not in the complex original. However, that does
> allow touching things under the mask, so to speak.
>
> Things get more complicated if the complex original is viewed as reals. In
> this case the mask needs to be "doubled" up, and there is again the
> possibility of touching things beneath the mask in the original. Viewing
> the original as bytes leads to even greater duplication.
>
> My thought is that touching the underlying data needs to be allowed in
> these cases, but the original mask can only be cleared by assignment to the
> original. Thoughts?
>
> Chuck
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20120121/61950d9d/attachment.html 


More information about the SciPy-Dev mailing list