MA does not handle NaN -- on purpose
In writing MA I specifically said that I would not deal with NaN issues because I saw no way to do so in a portable way. If you have a disk file with arrays that contain NaN's in them, then you can form a mask using some routine you write in C or Python, using whatever method you believe will identify those elements correctly. After that, MA promises never to use the NaN elements in any operations. There is a version of MA being developed for numarray but I haven't checked as to whether it is in the distribution yet.
Indeed, MA will be in the next release (0.8). Todd isn't in today to give an estimate on when that will be, but the MA work is done. He is mostly fixing known bugs in numarray before releasing it. Perry On Tuesday, November 4, 2003, at 10:00 AM, Paul F. Dubois wrote:
In writing MA I specifically said that I would not deal with NaN issues because I saw no way to do so in a portable way.
If you have a disk file with arrays that contain NaN's in them, then you can form a mask using some routine you write in C or Python, using whatever method you believe will identify those elements correctly. After that, MA promises never to use the NaN elements in any operations.
There is a version of MA being developed for numarray but I haven't checked as to whether it is in the distribution yet.
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion
participants (2)
-
Paul F. Dubois
-
Perry Greenfield