[Scipy-tickets] [SciPy] #378: scipy.unwrap() not working

SciPy scipy-tickets@scipy....
Thu Mar 29 16:05:01 CDT 2007


#378: scipy.unwrap() not working
------------------------------+---------------------------------------------
 Reporter:  MatthewZimmerman  |        Owner:  somebody
     Type:  defect            |       Status:  new     
 Priority:  normal            |    Milestone:          
Component:  Other             |      Version:          
 Severity:  normal            |   Resolution:          
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by Fabricio):

 unwrap(s,axis=0) works as unwrapping is done column-after-column.[[BR]]
 unwrap(s,0) tries to assign 0 to discount, and then proceed along axis=-1,
 that is with len-1 signals.[[BR]]

 Maybe if you do not want to play with axis argument, you should use:[[BR]]
 unwrap(s.flatten()).reshape(s.shape)

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/378#comment:3>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list