[Numpy-discussion] unwrap_function

Chris Barker chrishbarker at home.net
Mon Sep 10 16:11:02 EDT 2001

Karshi Hasanov wrote:

>  Does NumPy provide "unwrap" function  like in MatLab?

For those who are wondering, this is unwrap in MATLAB:

 UNWRAP Unwrap phase angle.
    UNWRAP(P) unwraps radian phases P by changing absolute
    jumps greater than pi to their 2*pi complement. It unwraps
    along the first non-singleton dimension of P. P can be a
    scalar, vector, matrix, or N-D array.
    UNWRAP(P,TOL) uses a jump tolerance of TOL rather
    than the default TOL = pi.
    UNWRAP(P,[],DIM) unwraps along dimension DIM using the
    default tolerance. UNWRAP(P,TOL,DIM) uses a jump tolerance
    of TOL.
    See also ANGLE, ABS.

And I think the answer is no, but It would be nice... 


Christopher Barker,
ChrisHBarker at home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------

More information about the NumPy-Discussion mailing list