Dear all, I'm new user of python. And I wanted to do the continuous wavelet analysis of my data. But first of all, when I tried to run the following command: In[1]: import numpy as np In[2]: from scipy.signal import SDG, Morlet, cwt I got the following error messages: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-43-e18eb7700f8b> in <module>() ----> 1 from scipy.signal import SDG, Morlet, cwt ImportError: cannot import name SDG In[3]: from scipy.signal import Morlet, cwt --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-44-2cf611117e43> in <module>() ----> 1 from scipy.signal import Morlet, cwt ImportError: cannot import name Morlet How can I solve this issues? Best regards -- * COULIBALY AMADOU * PhD Student on West African Climate System (WACS) FUTA - Federal University of Technology of Akure, Nigeria *Visiting Student - * *University of Cologne, Germany**Institute of Geophysics and Meteorology* Pohligstr. 3 / Office 3.102 D-50969 Köln *Project*: WASCAL (West African Science Service Centre on Climate Change and Adapted Land Use) Phone:(+234) 810 795 2836 /(+223) 65 67 27 57 /(+226) 64 57 37 27 /+49 15218352574 E-mail: mpapin24@gmail.com / coulibalya68@yahoo.com "*The time is always right to do right": Nelson Mandela* *"Character is like a tree and reputation like a shadow. The shadow is what we think of it; the tree is the real thing" : Abraham Lincoln* *"Do what you can, with what you have, where you are" Theodore Roosevelt*
On Thu, May 21, 2015 at 10:13 AM, Amadou Coulibaly <mpapin24@gmail.com> wrote:
Dear all,
I'm new user of python. And I wanted to do the continuous wavelet analysis of my data. But first of all, when I tried to run the following command:
In[1]: import numpy as np
In[2]: from scipy.signal import SDG, Morlet, cwt
I got the following error messages:
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-43-e18eb7700f8b> in <module>() ----> 1 from scipy.signal import SDG, Morlet, cwt
ImportError: cannot import name SDG
In[3]: from scipy.signal import Morlet, cwt --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-44-2cf611117e43> in <module>() ----> 1 from scipy.signal import Morlet, cwt
ImportError: cannot import name Morlet
How can I solve this issues?
It looks like you are trying to use code that was described here: http://mail.scipy.org/pipermail/scipy-dev/2009-March/011682.html That email describes a proposed addition to scipy, but that is not the API that we ended up with. For the wavelet functions in scipy, see http://docs.scipy.org/doc/scipy/reference/signal.html#wavelets Warren
Best regards
-- * COULIBALY AMADOU * PhD Student on West African Climate System (WACS) FUTA - Federal University of Technology of Akure, Nigeria
*Visiting Student - * *University of Cologne, Germany**Institute of Geophysics and Meteorology* Pohligstr. 3 / Office 3.102 D-50969 Köln
*Project*: WASCAL (West African Science Service Centre on Climate Change and Adapted Land Use) Phone:(+234) 810 795 2836 /(+223) 65 67 27 57 /(+226) 64 57 37 27 /+49 15218352574
E-mail: mpapin24@gmail.com / coulibalya68@yahoo.com
"*The time is always right to do right": Nelson Mandela*
*"Character is like a tree and reputation like a shadow. The shadow is what we think of it; the tree is the real thing" : Abraham Lincoln*
*"Do what you can, with what you have, where you are" Theodore Roosevelt*
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev
participants (2)
-
Amadou Coulibaly -
Warren Weckesser