Remove masked elements from an array

PoulsenL at capecon.com PoulsenL at capecon.com
Mon Apr 29 13:26:25 EDT 2002


I have a Numeric array with missing elements from which I wish to calculate
a histogram.  However, in order to do so I must first remove the 'None'
values from the array.  I have a kludgy solution, but I was wondering if
someone could point me in the right direction on what is the proper method
of collapsing a masked array to just the non-masked values.

Thanks 

Loren





More information about the Python-list mailing list