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

scales not exactly correct? #14

Open
darmok47 opened this issue Oct 27, 2016 · 0 comments
Open

scales not exactly correct? #14

darmok47 opened this issue Oct 27, 2016 · 0 comments

Comments

@darmok47
Copy link

Hi,
I am currently looking/ comparing different wavelet packages

have to say yours is a very nice package.

however there may be an issue in the correct calculation of the scaling.
In the standard Torrence/Compo wavelet package the default minimum scale (j0) is set to 2

Now according to your code (transform.py line 321) you should do the same (if I understood correctly)

However if I set dt =1 i get s0 = 1.93602661839, NOT 2.0!

Is that a mistake/ a rounding error coming from how you calculate s0 ?

I am using the python code hosted here for comparison (and the idl code also)
http://atoc.colorado.edu/research/wavelets/software.html

I mean, the result is overall the same, but the scales are slightly shifted, which is annoying.

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