[SciPy-User] Where can I see the list of built-in wavelet functions that I can pass to scipy.signal.cwt?

Daπid davidmenhur at gmail.com
Tue May 20 04:33:12 EDT 2014


I found the module for CWT quite confusing, so I rolled my own:

https://github.com/Dapid/fast-pycwt

It is built for speed (I got my running time from 4 h down to 20 min). It
is not thoroughly tested, and it is limited to single and double; but for
me it is in a "good enough" state.


/David.


On 20 May 2014 05:22, Franck Dernoncourt <franck.dernoncourt at gmail.com>wrote:

> Hi,
>
> scipy.signal.cwt's documentation says (
> http://docs.scipy.org/doc/scipy-0.13.0/reference/generated/scipy.signal.cwt.html
> ):
>
> scipy.signal.cwt(data, wavelet, widths):
>
> wavelet : function Wavelet function, which should take 2 arguments. The
>> first argument is the number of points that the returned vector will have
>> (len(wavelet(width,length)) == length). The second is a width parameter,
>> defining the size of the wavelet (e.g. standard deviation of a gaussian).
>> See ricker, which satisfies these requirements.wavelet : function Wavelet
>> function, *which should take 2 arguments*.
>
>
> Beyond scipy.signal.ricket, what are the other built-in wavelet functions
> that I can pass to scipy.signal.cwt?
>
> I see in scipy / scipy / signal / wavelets.py (
> https://github.com/scipy/scipy/blob/v0.13.0/scipy/signal/wavelets.py)
>
>  __all__ = ['daub', 'qmf', 'cascade', 'morlet', 'ricker', 'cwt']
>
>
> but looking at the arguments of each of those wavelet functions, only
> ricket seems to work with scipy.signal.cwt(data, wavelet, widths) (as only
> ricker takes precisely 2 arguments).
>
> Thanks,
>
> ----
> Franck Dernoncourt
> http://francky.me
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20140520/7da5dbdd/attachment.html>


More information about the SciPy-User mailing list