Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a way to overcome the problem mentioned above. One needs to typecast 'dj' to float. Like this:

spec, scale = mlpy.cwt(signal01_02_array, dt=0.001, dj=float(0.05), wf='morlet', p=omega0,
                       extmethod='zeros', extlength='powerof2') # 'dt' is a time step in the time series

and it will work in Sage also.