[Numpy-discussion] unwrap for masked arrays?
Fri Jun 17 14:26:22 CDT 2011
On Fri, Jun 17, 2011 at 1:26 PM, Eric Firing <email@example.com> wrote:
> On 06/17/2011 06:56 AM, Benjamin Root wrote:
> > It does not appear that unwrap works properly for masked arrays. First,
> > it uses np.asarray() at the start of the function. However, that alone
> > would not fix the problem given the nature of how unwrap works
> > (performing diff operations). I tried a slightly modified version of
> > unwrap, but I could not get it to always work properly. Anybody know of
> > an alternative or a work-around?
Are you looking over my shoulder or something? This module is exactly what
I needed. Need some tweaks to support a 2-D array so that all 1-D parts get
the same amount of unwrapping, but it is pretty much what I needed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion