Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

j1 parameter in wavelet() #14

Open
m-weigand opened this issue May 30, 2018 · 0 comments
Open

j1 parameter in wavelet() #14

m-weigand opened this issue May 30, 2018 · 0 comments

Comments

@m-weigand
Copy link
Contributor

As far as I can see the j1 parameter is

a) not used anywhere:

waipy/lib/waipy$ grep -R j1 *
cwt/wavetest.app/Contents/Resources/wavetest.py:j1 = 7/dj # this says do 7 powers-of-two with dj sub-octaves each
cwt/wavetest.app/Contents/Resources/wavetest.py:ondaleta,wave,period,scale,coi = lib_wavelet.wavelet(sst,dt,mother,param)#,pad,dj,s0,j1,mother,param)
cwt/lib_wavelet.py:def wavelet(Y, dt, param, dj, s0, j1, mother):
cwt/wavetest.py:def wavelet(Y, dt, param, dj, s0, j1, mother):
cwt/wavetest.py:def cwt(data, dt, pad, dj, s0, j1, lag1, param, mother, name):
cwt/wavetest.py: j1 = 7/dj # this says do 7 powers-of-two with dj sub-octaves each
cwt/wavetest.py: data, dt, param, dj, s0, j1, mother)
cwt/wavetest.py: 'nw': nw, 'mean_wavelet': mean_wavelet, 'dj': dj, 'j1': j1,
cwt/wavetest_2.7.py:def cwt(data, dt, pad, dj, s0, j1, lag1, param, mother, name):
cwt/wavetest_2.7.py: j1 = 7/dj # this says do 7 powers-of-two with dj sub-octaves each
cwt/wavetest_2.7.py: data, dt, param, dj, s0, j1, mother)
cwt/wavetest_2.7.py: 'nw': nw, 'mean_wavelet': mean_wavelet, 'dj': dj, 'j1': j1,

b) does not have any corresponding equation in Torrence & Compo

Can we thus remove the parameter? If this is the case I will prepare a merge request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant