waipy icon indicating copy to clipboard operation
waipy copied to clipboard

one bug in waipy.cwt

Open lovechang1986 opened this issue 9 years ago • 27 comments

i used the code example in notebook :Example 1 Sine and Waipy ,some bug attacked. while the wavelet analysis in matlab code, there is not a name parameter?

The autoreload extension is already loaded. To reload it, use:

%reload_ext autoreload

IndexError Traceback (most recent call last) in () 9 10 data_norm = waipy.normalize(x) ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6, mother='Morlet',name='x') 12 waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result) 13

C:\Anaconda2\lib\site-packages\waipy-0.0.9.0-py2.7.egg\waipy\cwt\wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother, name) 86 # Wavelet transform 87 ondaleta, wave, period, scale, coi, f = lib_wavelet.wavelet( ---> 88 data, dt, param, dj, s0, j1, mother) 89 # wave = np.array(wave) 90 power = (np.abs(wave) ** 2)

C:\Anaconda2\lib\site-packages\waipy-0.0.9.0-py2.7.egg\waipy\cwt\lib_wavelet.pyc in wavelet(Y, dt, param, dj, s0, j1, mother) 170 # delete the first value of k_neg = last value of k_pos 171 k_neg = k_neg[1:-1] --> 172 k = np.concatenate((k_pos, k_neg), axis=1) # vector of symmetric 173 # compute fft of the padded time series 174 f = np.fft.fft(x, n)

IndexError: axis 1 out of bounds [0, 1)

lovechang1986 avatar Feb 29 '16 07:02 lovechang1986

Hi

Your waipy needs an upgrade! :D You have an old version. Try to download the new version from github ( https://github.com/mabelcalim/waipy).

cheers

Mabel


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 29 February 2016 at 04:01, lovechang1986 [email protected] wrote:

i used the code example in notebook :Example 1 Sine and Waipy ,some bug attacked. while the wavelet analysis in matlab code, there is not a name parameter?

The autoreload extension is already loaded. To reload it, use: %reload_ext autoreload

IndexError Traceback (most recent call last) in () 9 10 data_norm = waipy.normalize(x) ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6, mother='Morlet',name='x') 12 waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result) 13

C:\Anaconda2\lib\site-packages\waipy-0.0.9.0-py2.7.egg\waipy\cwt\wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother, name) 86 # Wavelet transform 87 ondaleta, wave, period, scale, coi, f = lib_wavelet.wavelet( ---> 88 data, dt, param, dj, s0, j1, mother) 89 # wave = np.array(wave) 90 power = (np.abs(wave) ** 2)

C:\Anaconda2\lib\site-packages\waipy-0.0.9.0-py2.7.egg\waipy\cwt\lib_wavelet.pyc in wavelet(Y, dt, param, dj, s0, j1, mother) 170 # delete the first value of k_neg = last value of k_pos 171 k_neg = k_neg[1:-1] --> 172 k = np.concatenate((k_pos, k_neg), axis=1) # vector of symmetric 173 # compute fft of the padded time series 174 f = np.fft.fft(x, n)

IndexError: axis 1 out of bounds [0, 1)

— Reply to this email directly or view it on GitHub https://github.com/mabelcalim/waipy/issues/5.

mabelcalim avatar Feb 29 '16 13:02 mabelcalim

THK, i already download the new version waipy-0.09, but the bug still exist.

pip install waipy: Requirement already satisfied (use --upgrade to upgrade): waipy in c:\anaconda2\lib\site-packages\waipy-0.0.9.0-py2.7.eg

lovechang1986 avatar Mar 07 '16 08:03 lovechang1986

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers Mabel


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 7 March 2016 at 05:27, lovechang1986 [email protected] wrote:

THK, i already download the new version waipy-0.09, but the bug still exist.

pip install waipy: Requirement already satisfied (use --upgrade to upgrade): waipy in c:\anaconda2\lib\site-packages\waipy-0.0.9.0-py2.7.eg

— Reply to this email directly or view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-193155311.

mabelcalim avatar Mar 07 '16 12:03 mabelcalim

hi, I according to your suggestion, download the zip from github,and use "python setup.py install". so i asked again. and my python enviroment: python2.7.9, win7 64-bit. Did the python3 work or other error?

lovechang1986 avatar Mar 08 '16 01:03 lovechang1986

hi, one suggestion: in matlab : std(var) , use the DOF = (n - 1) standard deviation but in numpy: np.std or np.var ,use the DOF = n standard deviation.

lovechang1986 avatar Mar 08 '16 07:03 lovechang1986

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

brunofisico avatar Jul 30 '16 16:07 brunofisico

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236373212, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ .

mabelcalim avatar Jul 31 '16 12:07 mabelcalim

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,

Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/

"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236373212, or mute the thread < https://github.com/notifications/unsubscribe-auth/AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236427042, or mute the thread https://github.com/notifications/unsubscribe-auth/ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ .

brunofisico avatar Jul 31 '16 12:07 brunofisico

fiz como sugeriu, veja a saída...me dá uma força ai

Att,

Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/

"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa [email protected]:

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,


Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/


"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236373212, or mute the thread < https://github.com/notifications/unsubscribe-auth/AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236427042, or mute the thread https://github.com/notifications/unsubscribe-auth/ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ .

brunofisico avatar Jul 31 '16 13:07 brunofisico

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 31 July 2016 at 10:15, Bruno Lustosa de Moura [email protected] wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa [email protected]:

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236427042, or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236429313, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ .

mabelcalim avatar Aug 05 '16 17:08 mabelcalim

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures

---------------------------------------------------------------------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'

---------------------------------------------------------------------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1,mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,

Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/

"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 31 July 2016 at 10:15, Bruno Lustosa de Moura <[email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <[email protected] :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236429313, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-237915914, or mute the thread https://github.com/notifications/unsubscribe-auth/ATtlZYgSH8-8sdu3-CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ .

brunofisico avatar Aug 06 '16 14:08 brunofisico

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura [email protected] escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures

---------------------------------------------------------------------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'

---------------------------------------------------------------------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13

/home/bruno/anaconda2/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1,mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST)

/home/bruno/anaconda2/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,


Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/


"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa < [email protected] :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/mabelcalim/waipy/issues/5#issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-236429313, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-237915914, or mute the thread < https://github.com/notifications/unsubscribe-auth/ATtlZYgSH8-8sdu3-CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238026306, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDccxMqeJuRUp-dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ .

mabelcalim avatar Aug 06 '16 21:08 mabelcalim

Bruno, if you still have some trouble, we can arrange a hangout and I help you to install it.


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 6 August 2016 at 18:00, Mabel Calim Costa [email protected] wrote:

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/ python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura [email protected] escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures


---------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'


---------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1,mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <bruno.moura.pesquisa@gmail. com :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-236429313 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-237915914, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATtlZYgSH8-8sdu3- CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238026306, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDccxMqeJuRUp-dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ .

mabelcalim avatar Aug 06 '16 21:08 mabelcalim

ok when you can'm here ... I do not really know how to proceed.

Att,

Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/

"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-06 18:43 GMT-03:00 Mabel [email protected]:

Bruno, if you still have some trouble, we can arrange a hangout and I help you to install it.


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 6 August 2016 at 18:00, Mabel Calim Costa [email protected] wrote:

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/ python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura < [email protected]> escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures


---------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'


---------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1,mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <bruno.moura.pesquisa@gmail. com :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico [email protected] escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236429313 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-237915914 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ATtlZYgSH8-8sdu3- CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238026306, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGNvDccxMqeJuRUp- dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238050367, or mute the thread https://github.com/notifications/unsubscribe-auth/ATtlZVd0x1OXV8KqNVqbiAxT1esLTE_4ks5qdQACgaJpZM4HlJfJ .

brunofisico avatar Aug 06 '16 22:08 brunofisico

Hi all,

I'll need more time to update the pip version of waipy, so, please use the git version!

I've just tested the git version, and for me is working just fine. Some cookbook to use this version ( Example 1 of github):

open a terminal:

git clone https://github.com/mabelcalim/waipy.git

cd waipy/

sudo python setup.py install

python

import waipy

import numpy as np

import matplotlib.pyplot as pet

import pylab

z = np.linspace(0,2048,2048)

x = np.sin(50_np.pi_z)

y = np.cos(50_np.pi_z)

data_norm = waipy.normalize(x)

result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,mother='Morlet',name='x')

waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result)

pylab.show()

data_norm1 = waipy.normalize(y)

result1 = waipy.cwt(data_norm1, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,

... mother='Morlet',name='y')

waipy.wavelet_plot('Cosine', z, data_norm1, 0.03125, result1)

pylab.show()

cross_power, coherence, phase_angle = waipy.cross_wavelet(result['wave'],

... result1['wave'])

waipy.plot_cross('Crosspower sine and cosine', cross_power, phase_angle,

... z, result, result1)

pylab.show()

The figures can look better in ipython notebook ;)

In time I'll improve the examples with more info and images.

Have fun with waipy !!!

Cheers

Mabel


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 6 August 2016 at 19:09, Bruno Lustosa de Moura [email protected] wrote:

ok when you can'm here ... I do not really know how to proceed.

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-06 18:43 GMT-03:00 Mabel [email protected]:

Bruno, if you still have some trouble, we can arrange a hangout and I help you to install it.


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 6 August 2016 at 18:00, Mabel Calim Costa [email protected] wrote:

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/ python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura < [email protected]> escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures


---------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'


---------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1,mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <bruno.moura.pesquisa@gmail. com :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico < [email protected]> escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236429313 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-237915914 , or mute the thread <https://github.com/notifications/unsubscribe- auth/ATtlZYgSH8-8sdu3- CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-238026306 , or mute the thread <https://github.com/notifications/unsubscribe-auth/AGNvDccxMqeJuRUp- dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238050367, or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZVd0x1OXV8KqNVqbiAxT1esLTE_4ks5qdQACgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238051548, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDVkEwsn06oh6gbUCYrweJwvIZwBOks5qdQX9gaJpZM4HlJfJ .

mabelcalim avatar Aug 10 '16 00:08 mabelcalim

segue o erro....

Att,

Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/

"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-09 21:16 GMT-03:00 Mabel [email protected]:

Hi all,

I'll need more time to update the pip version of waipy, so, please use the git version!

I've just tested the git version, and for me is working just fine. Some cookbook to use this version ( Example 1 of github):

open a terminal:

git clone https://github.com/mabelcalim/waipy.git

cd waipy/

sudo python setup.py install

python

import waipy

import numpy as np

import matplotlib.pyplot as pet

import pylab

z = np.linspace(0,2048,2048)

x = np.sin(50_np.pi_z)

y = np.cos(50_np.pi_z)

data_norm = waipy.normalize(x)

result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,mother='Morlet',name='x')

waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result)

pylab.show()

data_norm1 = waipy.normalize(y)

result1 = waipy.cwt(data_norm1, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,

... mother='Morlet',name='y')

waipy.wavelet_plot('Cosine', z, data_norm1, 0.03125, result1)

pylab.show()

cross_power, coherence, phase_angle = waipy.cross_wavelet(result['wave'],

... result1['wave'])

waipy.plot_cross('Crosspower sine and cosine', cross_power, phase_angle,

... z, result, result1)

pylab.show()

The figures can look better in ipython notebook ;)

In time I'll improve the examples with more info and images.

Have fun with waipy !!!

Cheers

Mabel


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 6 August 2016 at 19:09, Bruno Lustosa de Moura < [email protected]> wrote:

ok when you can'm here ... I do not really know how to proceed.

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-06 18:43 GMT-03:00 Mabel [email protected]:

Bruno, if you still have some trouble, we can arrange a hangout and I help you to install it.



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 6 August 2016 at 18:00, Mabel Calim Costa [email protected] wrote:

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/ python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/ wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura < [email protected]> escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures


---------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'


---------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1, mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <bruno.moura.pesquisa@gmail. com :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,




Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/




"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico < [email protected]> escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236429313 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-237915914 , or mute the thread <https://github.com/notifications/unsubscribe- auth/ATtlZYgSH8-8sdu3- CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-238026306 , or mute the thread <https://github.com/notifications/unsubscribe- auth/AGNvDccxMqeJuRUp- dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238050367, or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZVd0x1OXV8KqNVqbiAxT1esLTE_4ks5qdQACgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238051548, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDVkEwsn06oh6gbUCYrweJwvIZwBOks5qdQX9gaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238731542, or mute the thread https://github.com/notifications/unsubscribe-auth/ATtlZWth92cc0Y4H1TRO5q3KUlZ7Hl-Bks5qeRh1gaJpZM4HlJfJ .

brunofisico avatar Aug 10 '16 13:08 brunofisico

Hi Bruno,

Did you try the tutorial of my previous message? Please add your error from the previous tutorial

thanks


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 10 August 2016 at 10:58, Bruno Lustosa de Moura <[email protected]

wrote:

segue o erro....

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-09 21:16 GMT-03:00 Mabel [email protected]:

Hi all,

I'll need more time to update the pip version of waipy, so, please use the git version!

I've just tested the git version, and for me is working just fine. Some cookbook to use this version ( Example 1 of github):

open a terminal:

git clone https://github.com/mabelcalim/waipy.git

cd waipy/

sudo python setup.py install

python

import waipy

import numpy as np

import matplotlib.pyplot as pet

import pylab

z = np.linspace(0,2048,2048)

x = np.sin(50_np.pi_z)

y = np.cos(50_np.pi_z)

data_norm = waipy.normalize(x)

result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,mother='Morlet',name='x')

waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result)

pylab.show()

data_norm1 = waipy.normalize(y)

result1 = waipy.cwt(data_norm1, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,

... mother='Morlet',name='y')

waipy.wavelet_plot('Cosine', z, data_norm1, 0.03125, result1)

pylab.show()

cross_power, coherence, phase_angle = waipy.cross_wavelet(result['wave'],

... result1['wave'])

waipy.plot_cross('Crosspower sine and cosine', cross_power, phase_angle,

... z, result, result1)

pylab.show()

The figures can look better in ipython notebook ;)

In time I'll improve the examples with more info and images.

Have fun with waipy !!!

Cheers

Mabel


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 6 August 2016 at 19:09, Bruno Lustosa de Moura < [email protected]> wrote:

ok when you can'm here ... I do not really know how to proceed.

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-06 18:43 GMT-03:00 Mabel [email protected]:

Bruno, if you still have some trouble, we can arrange a hangout and I help you to install it.



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 6 August 2016 at 18:00, Mabel Calim Costa [email protected] wrote:

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/ python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/ wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura < [email protected]> escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures


---------------TypeError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'


---------------IndexError Traceback (most recent call last) in () 9 data_norm1 = waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1, mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <bruno.moura.pesquisa@gmail. com :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,





Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/





"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel [email protected]:

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico < [email protected]> escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236429313 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-237915914 , or mute the thread <https://github.com/notifications/unsubscribe- auth/ATtlZYgSH8-8sdu3- CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-238026306 , or mute the thread <https://github.com/notifications/unsubscribe- auth/AGNvDccxMqeJuRUp- dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-238050367 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZVd0x1OXV8KqNVqbiAxT1esLTE_4ks5qdQACgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238051548, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDVkEwsn06oh6gbUCYrweJwvIZwBOks5qdQX9gaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238731542, or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZWth92cc0Y4H1TRO5q3KUlZ7Hl-Bks5qeRh1gaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238874904, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDf4t5ptuEy-oHgDNLDblIbkjkUJKks5qedkWgaJpZM4HlJfJ .

mabelcalim avatar Aug 10 '16 14:08 mabelcalim

Sim, segui perfeitamente o seu tutorial, deu certo a instalação do waipy mas não funciona quando coloco "result'

IndentationError: unexpected indent

import pylab z = np.linspace(0,2048,2048) x = np.sin(50_np.pi_z) y = np.cos(50_np.pi_z) data_norm = waipy.normalize(x) result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, ... 6,mother='Morlet',name='x') Traceback (most recent call last): File "", line 2, in File "build/bdist.linux-x86_64/egg/waipy/cwt/wavetest.py", line 88, in cwt File "build/bdist.linux-x86_64/egg/waipy/cwt/lib_wavelet.py", line 172, in wavelet IndexError: axis 1 out of bounds [0, 1)

Att,

Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/

"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-10 11:23 GMT-03:00 Mabel [email protected]:

Hi Bruno,

Did you try the tutorial of my previous message? Please add your error from the previous tutorial

thanks


Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)

On 10 August 2016 at 10:58, Bruno Lustosa de Moura < [email protected]

wrote:

segue o erro....

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-09 21:16 GMT-03:00 Mabel [email protected]:

Hi all,

I'll need more time to update the pip version of waipy, so, please use the git version!

I've just tested the git version, and for me is working just fine. Some cookbook to use this version ( Example 1 of github):

open a terminal:

git clone https://github.com/mabelcalim/waipy.git

cd waipy/

sudo python setup.py install

python

import waipy

import numpy as np

import matplotlib.pyplot as pet

import pylab

z = np.linspace(0,2048,2048)

x = np.sin(50_np.pi_z)

y = np.cos(50_np.pi_z)

data_norm = waipy.normalize(x)

result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,mother='Morlet',name='x')

waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result)

pylab.show()

data_norm1 = waipy.normalize(y)

result1 = waipy.cwt(data_norm1, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,

... mother='Morlet',name='y')

waipy.wavelet_plot('Cosine', z, data_norm1, 0.03125, result1)

pylab.show()

cross_power, coherence, phase_angle = waipy.cross_wavelet(result['wave'],

... result1['wave'])

waipy.plot_cross('Crosspower sine and cosine', cross_power, phase_angle,

... z, result, result1)

pylab.show()

The figures can look better in ipython notebook ;)

In time I'll improve the examples with more info and images.

Have fun with waipy !!!

Cheers

Mabel



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 6 August 2016 at 19:09, Bruno Lustosa de Moura < [email protected]> wrote:

ok when you can'm here ... I do not really know how to proceed.

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-06 18:43 GMT-03:00 Mabel [email protected]:

Bruno, if you still have some trouble, we can arrange a hangout and I help you to install it.



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 6 August 2016 at 18:00, Mabel Calim Costa <[email protected]

wrote:

Hi Bruno, You still using the pip version: home/bruno/anaconda2/lib/ python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/ wavetest.pyc Try : pip uninstall waipy And then install the git version.

The examples are working just fine. I think the pip version doesn't have name option and the github version has.

Em 11h37 Sáb, 06/08/2016, Bruno Lustosa de Moura < [email protected]> escreveu:

hello Mabel

It really was before the pip package but now did everything right as your tutorial page. There are two notable errors: The first when it includes 'name' in the result and the second without it. Follow the pictures


---------------TypeError Traceback (most recent call

last) in () 9 data_norm1

waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1,

0.25, 2, 4/0.25, 0.72, 6, mother='Morlet', name='x') 12 result1

waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet', name='y') 13 TypeError: cwt() got an unexpected keyword argument 'name'


---------------IndexError Traceback (most recent call

last) in () 9 data_norm1

waipy.normalize(y2) 10 ---> 11 result = waipy.cwt(data_norm, 1, 1, 0.25, 2, 4/0.25, 0.72, 6, mother='Morlet') 12 result1 = waipy.cwt(data_norm1, 1, 1, 0.25, 2, 4/0.25, 0.72, 6,mother='Morlet') 13 /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/wavetest.pyc in cwt(data, dt, pad, dj, s0, j1, lag1, param, mother) 73

Wavelet transform 74 import lib_wavelet---> 75

ondaleta,wave,period,scale,coi,f = lib_wavelet.wavelet(data,dt,mother,param)#,pad,dj,s0,j1, mother,param) 76 power = np.abs(wave*wave) 77 # Significance levels: (variance=1 for the normalized SST) /home/bruno/anaconda2/lib/python2.7/site-packages/waipy- 0.0.9.0-py2.7.egg/waipy/cwt/lib_wavelet.pyc in wavelet(Y, dt, mother, param) 130 k_neg = [e * (-1) for e in k_neg] # negative part 131 k_neg = k_neg[1:-1] # delete the first value of k_neg = last value of k_pos--> 132 k = np.concatenate((k_pos,k_neg), axis =1) # vector of symmetric 133 # compute fft of the padded time series 134 f = np.fft.fft(x,n) IndexError: axis 1 out of bounds [0, 1)

Att,



Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/



"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-08-05 14:45 GMT-03:00 Mabel [email protected]:

Bruno

You still using the pip version. Try to uninstall the pip version, and install the git version.

If you have any trouble, send me the error.

Cheers



Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP

+55 (12) 3186 - 8566 (ramal 8566)


On 31 July 2016 at 10:15, Bruno Lustosa de Moura < [email protected]

wrote:

fiz como sugeriu, veja a saída...me dá uma força ai

Att,





Bruno Lustosa de Moura Instituto Federal de Ciência e Tecnologia do R.G do Norte - IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3

http://astro.dfte.ufrn.br/





"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:26 GMT-03:00 Bruno Lustosa <bruno.moura.pesquisa@gmail. com :

Mil perdões, Mabel...rsrsr

vou ver agora.

grato.

Att,






Bruno Lustosa de Moura

Instituto Federal de Ciência e Tecnologia do R.G do Norte

IFRN +55 84 99991-9550 Mestre em Astrofísica Aluno de Doutorado em Física - UFRN Grupo de Estutura e Evolução Estelar - GE3 http://astro.dfte.ufrn.br/






"Pois, quando eu me sinto fraco, é então que sou forte..." (2Cor 12,10)

2016-07-31 9:22 GMT-03:00 Mabel <[email protected] :

Hi Bruno

Hi

The pip version of waipy don't have the changes that the version of the github has. So, I strongly suggest that you follow the instructions to download the git version (https://github.com/mabelcalim/waipy). Then the examples will work just fine.

cheers

Ps: it's HER tutorial. .. I'm a woman ;)

•••

Em 13h00 Sáb, 30/07/2016, brunofisico < [email protected]> escreveu:

Hello, how are you? I am having the same problem in waipy functionality. I did the footsteps of his tutorial and nothing ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236373212 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ AGNvDae3QlF1nRpwRUraK2bxVcZqdGjIks5qa3UcgaJpZM4HlJfJ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236427042 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZfWnXD72UgyWWZQEwfnKiiUdG5RUks5qbJOLgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-236429313 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDc3VH8Z5FKIc6Af0Xqf7Q1UMMpyGks5qbJ_cgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-237915914 , or mute the thread <https://github.com/notifications/unsubscribe- auth/ATtlZYgSH8-8sdu3- CJnBdmLTgss6qqVks5qc3a1gaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-238026306 , or mute the thread <https://github.com/notifications/unsubscribe- auth/AGNvDccxMqeJuRUp- dIgu7XTzLEbzf90ks5qdJwrgaJpZM4HlJfJ> .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5# issuecomment-238050367 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZVd0x1OXV8KqNVqbiAxT1esLTE_4ks5qdQACgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/mabelcalim/waipy/issues/5#issuecomment-238051548 , or mute the thread <https://github.com/notifications/unsubscribe-auth/ AGNvDVkEwsn06oh6gbUCYrweJwvIZwBOks5qdQX9gaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238731542, or mute the thread <https://github.com/notifications/unsubscribe-auth/ ATtlZWth92cc0Y4H1TRO5q3KUlZ7Hl-Bks5qeRh1gaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238874904, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGNvDf4t5ptuEy- oHgDNLDblIbkjkUJKks5qedkWgaJpZM4HlJfJ>

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-238882297, or mute the thread https://github.com/notifications/unsubscribe-auth/ATtlZTMLoCCK_hTzvJ2FLXszsVd_uUJKks5qed7EgaJpZM4HlJfJ .

brunofisico avatar Aug 10 '16 14:08 brunofisico

import waipy import numpy as np import matplotlib.pyplot as pet import pylab z = np.linspace(0,2048,2048) x = np.sin(50_np.pi_z) y = np.cos(50_np.pi_z) data_norm = waipy.normalize(x) result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72,6,mother='Morlet',name='x') waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result) pylab.show()

data_norm1 = waipy.normalize(y) result1 = waipy.cwt(data_norm1, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,mother='Morlet',name='y') waipy.wavelet_plot('Cosine', z, data_norm1, 0.03125, result1) pylab.show() cross_power, coherence, phase_angle =waipy.cross_wavelet(result['wave'],result1['wave']) waipy.plot_cross('Crosspower sine and cosine', cross_power,phase_angle,z, result, result1) pylab.show()

Traceback (most recent call last): File "/Users/fuzhp/Downloads/Python_Library/waipy_file/waipy/Waipy Examples /tewt.py", line 9, in result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72,6,mother='Morlet',name='x') File "build/bdist.macosx-10.6-x86_64/egg/waipy/cwt/wavetest.py", line 88, in cwt File "build/bdist.macosx-10.6-x86_64/egg/waipy/cwt/lib_wavelet.py", line 172, in wavelet IndexError: axis 1 out of bounds [0, 1) [Finished in 1.598s]

gavin971 avatar Oct 22 '16 00:10 gavin971

I modify the "axis=1" with "axis=0" ( lib_wavelet.py and wavetest.py), just get the following warning. Besides, I can run the example(https://wavelet-analysis.readthedocs.io/en/latest/cookbook.html) successfully, and plot the data nino3. (the graph attachment https://www.dropbox.com/s/o861f36bxi67306/figure_1.png?dl=0 )

/Users/fuzhp/anaconda/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.py:88: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future /Users/fuzhp/anaconda/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg/waipy/cwt/wavetest.py:89: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future

gavin971 avatar Oct 22 '16 02:10 gavin971

Same bug occurred in python 2.7 on windows10, line 172 k = np.concatenate((k_pos, k_neg), axis=1) axis 1 out of bounds [0, 1), then I modify the "axis=1" with "axis=0" ( lib_wavelet.py and wavetest.py), but it is still not working and return same error. I downloaded the zip folder from github, extract waipy.zip under site-packages, python setup.py install and import waipy.

WUhailing avatar Dec 06 '16 10:12 WUhailing

Hi WUhailing

Please don' try to unzip waipy under site-packages directory, this is not how it works. You have 2 options:

  1. Install in your local machine:

download the zip file unzip waipy in your home : /usr/home/ $cd waipy $python setup.py install

  1. clone from github:

open a terminal:

git clone https://github.com/mabelcalim/waipy.git

cd waipy/

sudo python setup.py install

If you still having problems to install, I suggest that you use the git for windows (https://git-for-windows.github.io/).

Please let me know if you still have problems to install waipy

Good luck!

ps: if you succeed, try this example

python

import waipy

import numpy as np

import matplotlib.pyplot as pet

import pylab

z = np.linspace(0,2048,2048)

x = np.sin(50np.piz)

y = np.cos(50np.piz)

data_norm = waipy.normalize(x)

result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,mother='Morlet',name='x')

waipy.wavelet_plot('Sine', z, data_norm, 0.03125, result)

pylab.show()

data_norm1 = waipy.normalize(y)

result1 = waipy.cwt(data_norm1, 1, 1, 0.125, 2, 4/0.125, 0.72, 6,

... mother='Morlet',name='y')

waipy.wavelet_plot('Cosine', z, data_norm1, 0.03125, result1)

pylab.show()

cross_power, coherence, phase_angle = waipy.cross_wavelet(result['wa ve'],

... result1['wave'])

waipy.plot_cross('Crosspower sine and cosine', cross_power, phase_angle,

... z, result, result1)

pylab.show()

Have fun with waipy !!!

Cheers

Mabel Calim Costa Instituto Nacional de Pesquisas Espaciais - INPE Cachoeira Paulista -SP +55 (12) 3186 - 8566 (ramal 8566)

On 6 December 2016 at 08:09, WUhailing [email protected] wrote:

Same bug occurred in python 2.7 windows10, line 172 k = np.concatenate((k_pos, k_neg), axis=1) axis 1 out of bounds [0, 1), then I modify the "axis=1" with "axis=0" ( lib_wavelet.py and wavetest.py), but it is still not working and return same error. I downloaded the zip folder from github, extract waipy.zip under site-packages, python setup.pyinstall and import waipy.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-265110898, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDd21Kji9ZOW6x1NfgwWlQEWD-1MUks5rFTRqgaJpZM4HlJfJ .

mabelcalim avatar Dec 06 '16 12:12 mabelcalim

Hi Mabel, Option 1 can install Waipy, but same error still exists. Option 2 cannot install, I opened Git installed on Windows10, and do git clone Waipy, then find out sudo is not recognized on Windows.

WUhailing avatar Dec 08 '16 02:12 WUhailing

Dear all, the same occurs here.

The following steps allow you to reproduce the bug:

  1. Downloading and installing:
[marcos@arch ~/Downloads]$ git clone https://github.com/mabelcalim/waipy.git
Cloning into 'waipy'...
remote: Counting objects: 684, done.
remote: Total 684 (delta 0), reused 0 (delta 0), pack-reused 684
Receiving objects: 100% (684/684), 14.00 MiB | 8.86 MiB/s, done.
Resolving deltas: 100% (194/194), done.
[marcos@arch ~/Downloads]$ cd waipy/
[marcos@arch ~/Downloads/waipy]$ python2.7 setup.py build 
running build
running build_py
creating build
creating build/lib
creating build/lib/waipy
copying lib/waipy/mainmodule.py -> build/lib/waipy
copying lib/waipy/__init__.py -> build/lib/waipy
creating build/lib/waipy/cwt
copying lib/waipy/cwt/wavetest.py -> build/lib/waipy/cwt
copying lib/waipy/cwt/lib_wavelet.py -> build/lib/waipy/cwt
copying lib/waipy/cwt/__init__.py -> build/lib/waipy/cwt
creating build/lib/waipy/cwa
copying lib/waipy/cwa/cross_wavelet.py -> build/lib/waipy/cwa
copying lib/waipy/cwa/__init__.py -> build/lib/waipy/cwa
[marcos@arch ~/Downloads/waipy]$ sudo python2.7 setup.py install 
running install
running bdist_egg
running egg_info
writing lib/waipy.egg-info/PKG-INFO
writing top-level names to lib/waipy.egg-info/top_level.txt
writing dependency_links to lib/waipy.egg-info/dependency_links.txt
reading manifest file 'lib/waipy.egg-info/SOURCES.txt'
writing manifest file 'lib/waipy.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/waipy
copying build/lib/waipy/mainmodule.py -> build/bdist.linux-x86_64/egg/waipy
creating build/bdist.linux-x86_64/egg/waipy/cwt
copying build/lib/waipy/cwt/wavetest.py -> build/bdist.linux-x86_64/egg/waipy/cwt
copying build/lib/waipy/cwt/lib_wavelet.py -> build/bdist.linux-x86_64/egg/waipy/cwt
copying build/lib/waipy/cwt/__init__.py -> build/bdist.linux-x86_64/egg/waipy/cwt
copying build/lib/waipy/__init__.py -> build/bdist.linux-x86_64/egg/waipy
creating build/bdist.linux-x86_64/egg/waipy/cwa
copying build/lib/waipy/cwa/cross_wavelet.py -> build/bdist.linux-x86_64/egg/waipy/cwa
copying build/lib/waipy/cwa/__init__.py -> build/bdist.linux-x86_64/egg/waipy/cwa
byte-compiling build/bdist.linux-x86_64/egg/waipy/mainmodule.py to mainmodule.pyc
byte-compiling build/bdist.linux-x86_64/egg/waipy/cwt/wavetest.py to wavetest.pyc
byte-compiling build/bdist.linux-x86_64/egg/waipy/cwt/lib_wavelet.py to lib_wavelet.pyc
byte-compiling build/bdist.linux-x86_64/egg/waipy/cwt/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/waipy/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/waipy/cwa/cross_wavelet.py to cross_wavelet.pyc
byte-compiling build/bdist.linux-x86_64/egg/waipy/cwa/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/waipy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/waipy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/waipy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying lib/waipy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/waipy-0.0.9.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing waipy-0.0.9.0-py2.7.egg
Copying waipy-0.0.9.0-py2.7.egg to /usr/lib/python2.7/site-packages
Adding waipy 0.0.9.0 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg
Processing dependencies for waipy==0.0.9.0
Finished processing dependencies for waipy==0.0.9.0
[marcos@arch ~/Downloads/waipy]$ 
  1. Testing example 1:
[marcos@arch ~/Downloads/waipy]$ python2.7 
Python 2.7.12 (default, Jun 28 2016, 08:31:05) 
[GCC 6.1.1 20160602] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import waipy
>>> import numpy as np
>>> z = np.linspace(0, 2048, 2048)
>>> x = np.sin(50*np.pi*z)
>>> y = np.cos(50*np.pi*z)
>>> data_norm = waipy.normalize(x)
>>> result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6, mother='Morlet', name='y')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/waipy/cwt/wavetest.py", line 88, in cwt
  File "build/bdist.linux-x86_64/egg/waipy/cwt/lib_wavelet.py", line 172, in wavelet
IndexError: axis 1 out of bounds [0, 1)
>>> 

The versions of the libraries in machine are following:

>>> numpy.__version__
'1.12.0'
>>> netCDF4.__version__
'1.2.7'
>>> matplotlib.__version__ 
'1.5.2'

And the version of python is:

[marcos@arch ~/Downloads/waipy]$ python2.7 --version
Python 2.7.12

macoj avatar Mar 08 '17 00:03 macoj

Hi Marcos, are you using windows? I suggest that you clone waipy in a workdir in your $ home and use the pyrhon from your system ( probably other 2.7 version ).

Em 9:20PM Ter, 07/03/2017, Marcos Oliveira [email protected] escreveu:

Dear all, the same occurs here.

The following steps allow you to reproduce the bug:

  1. Downloading and installing:

[marcos@arch ~/Downloads]$ git clone https://github.com/mabelcalim/waipy.git Cloning into 'waipy'... remote: Counting objects: 684, done. remote: Total 684 (delta 0), reused 0 (delta 0), pack-reused 684 Receiving objects: 100% (684/684), 14.00 MiB | 8.86 MiB/s, done. Resolving deltas: 100% (194/194), done. [marcos@arch ~/Downloads]$ cd waipy/ [marcos@arch ~/Downloads/waipy]$ python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/waipy copying lib/waipy/mainmodule.py -> build/lib/waipy copying lib/waipy/init.py -> build/lib/waipy creating build/lib/waipy/cwt copying lib/waipy/cwt/wavetest.py -> build/lib/waipy/cwt copying lib/waipy/cwt/lib_wavelet.py -> build/lib/waipy/cwt copying lib/waipy/cwt/init.py -> build/lib/waipy/cwt creating build/lib/waipy/cwa copying lib/waipy/cwa/cross_wavelet.py -> build/lib/waipy/cwa copying lib/waipy/cwa/init.py -> build/lib/waipy/cwa [marcos@arch ~/Downloads/waipy]$ sudo python2.7 setup.py install running install running bdist_egg running egg_info writing lib/waipy.egg-info/PKG-INFO writing top-level names to lib/waipy.egg-info/top_level.txt writing dependency_links to lib/waipy.egg-info/dependency_links.txt reading manifest file 'lib/waipy.egg-info/SOURCES.txt' writing manifest file 'lib/waipy.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/waipy copying build/lib/waipy/mainmodule.py -> build/bdist.linux-x86_64/egg/waipy creating build/bdist.linux-x86_64/egg/waipy/cwt copying build/lib/waipy/cwt/wavetest.py -> build/bdist.linux-x86_64/egg/waipy/cwt copying build/lib/waipy/cwt/lib_wavelet.py -> build/bdist.linux-x86_64/egg/waipy/cwt copying build/lib/waipy/cwt/init.py -> build/bdist.linux-x86_64/egg/waipy/cwt copying build/lib/waipy/init.py -> build/bdist.linux-x86_64/egg/waipy creating build/bdist.linux-x86_64/egg/waipy/cwa copying build/lib/waipy/cwa/cross_wavelet.py -> build/bdist.linux-x86_64/egg/waipy/cwa copying build/lib/waipy/cwa/init.py -> build/bdist.linux-x86_64/egg/waipy/cwa byte-compiling build/bdist.linux-x86_64/egg/waipy/mainmodule.py to mainmodule.pyc byte-compiling build/bdist.linux-x86_64/egg/waipy/cwt/wavetest.py to wavetest.pyc byte-compiling build/bdist.linux-x86_64/egg/waipy/cwt/lib_wavelet.py to lib_wavelet.pyc byte-compiling build/bdist.linux-x86_64/egg/waipy/cwt/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/waipy/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/waipy/cwa/cross_wavelet.py to cross_wavelet.pyc byte-compiling build/bdist.linux-x86_64/egg/waipy/cwa/init.py to init.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying lib/waipy.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying lib/waipy.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying lib/waipy.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying lib/waipy.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist/waipy-0.0.9.0-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing waipy-0.0.9.0-py2.7.egg Copying waipy-0.0.9.0-py2.7.egg to /usr/lib/python2.7/site-packages Adding waipy 0.0.9.0 to easy-install.pth file

Installed /usr/lib/python2.7/site-packages/waipy-0.0.9.0-py2.7.egg Processing dependencies for waipy==0.0.9.0 Finished processing dependencies for waipy==0.0.9.0 [marcos@arch ~/Downloads/waipy]$

  1. Testing example 1:

[marcos@arch ~/Downloads/waipy]$ python2.7 Python 2.7.12 (default, Jun 28 2016, 08:31:05) [GCC 6.1.1 20160602] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import waipy>>> import numpy as np

z = np.linspace(0, 2048, 2048)

x = np.sin(50np.piz)>>> y = np.cos(50np.piz)>>> data_norm = waipy.normalize(x)

result = waipy.cwt(data_norm, 1, 1, 0.125, 2, 4/0.125, 0.72, 6, mother='Morlet', name='y') Traceback (most recent call last): File "", line 1, in File "build/bdist.linux-x86_64/egg/waipy/cwt/wavetest.py", line 88, in cwt File "build/bdist.linux-x86_64/egg/waipy/cwt/lib_wavelet.py", line 172, in wavelet

IndexError: axis 1 out of bounds [0, 1)>>>

The versions of the libraries in machine are following:

numpy.version'1.12.0'>>> netCDF4.version'1.2.7'>>> matplotlib.version '1.5.2'

And the version of python is:

[marcos@arch ~/Downloads/waipy]$ python2.7 --version Python 2.7.12

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mabelcalim/waipy/issues/5#issuecomment-284904864, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNvDeCODWWVkzlE67kI-ydky_ytSuxDks5rjfRSgaJpZM4HlJfJ .

mabelcalim avatar Mar 08 '17 02:03 mabelcalim

Hi Mabel, I am on Arch Linux. Here I have only one version of python2.7. I wonder if this is not a problem with newer versions of numpy.

Marcos

macoj avatar Mar 08 '17 02:03 macoj

Hi! Yesterday I converted waipy to python3.6. Now it's waipy0.0.1.0! Try to check the example_python3.6 on my github (https://github.com/mabelcalim/waipy)

I hardly recommend to install from github: in your path: git clone https://github.com/mabelcalim/waipy.git cd waipy python3 setup.py install

And try to use the example ;) If you have some problem to install, please let me know!

Thanks for choosing waipy! Best regards Mabel

mabelcalim avatar Feb 01 '18 12:02 mabelcalim