Subclassing ma.MaskedArray

I understand that ma.MaskedArray is a subclass of ndarray; in addition to the requirements for subclassing the latter, what does ma.MaskedArray add to the list? I.e. what do I have to watch out for? Basically I need a version of Luke Campagnola's MetaArray ( http://www.scipy.org/Cookbook/MetaArray ) that works with masked arrays. My first attempts have failed. Thanks.

David Carmean <dlc <at> halibut.com> writes:
I understand that ma.MaskedArray is a subclass of ndarray; in addition to the requirements for subclassing the latter, what does ma.MaskedArray add to the list? I.e. what do I have to watch out for?
You may want to take a look at the TimeSeries class in the scikits.timeseries module for a rather extensive example of subclassing MaskedArray - Matt
participants (2)
-
David Carmean
-
Matt Knox