[Numpy-discussion] masked arrays and NaNs

Travis Oliphant oliphant at ee.byu.edu
Wed Apr 6 17:17:13 EDT 2005


Eric Firing wrote:

> Travis,
>
> I am whole-heartedly in favor of your efforts to end the 
> Numeric/numarray split by combining the best of both. I am encouraged 
> by the progress you have made, and by the depth and clarity of the 
> accompanying technical discussions.  Thank you!
>
> I am a long-time Matlab user in Physical Oceanography, and I have been 
> trying to find a practical way to phase out Matlab.  One key is 
> matplotlib, which is coming along wonderfully.  A second is the 
> availability of a Num* (or scipy.base) module that provides the 
> functionality and ease-of-use I presently get from Matlab.  This leads 
> to a request which I suspect and hope is consistent with your present 
> plans: efficient handling of NaNs and/or masked arrays.


I think both options will be available.    With the new error handling 
numarray showed nans will be allowed if you set the error mode correctly.

A verson of masked arrays will also be available (either in python or 
C).   

-Travis





More information about the NumPy-Discussion mailing list