UCD4IDS / ContinuousWavelets.jl

wide array of continuous wavelet transforms using Julia
https://dsweber2.github.io/ContinuousWavelets.jl/dev/
Other
21 stars 7 forks source link

mean power (rather than 1-norm) and linear interpolation #54

Closed dsweber2 closed 4 months ago

dsweber2 commented 4 months ago

This fixes https://github.com/UCD4IDS/ContinuousWavelets.jl/issues/48, where the mean frequencies got pretty weird for the orthogonal wavelets sometimes. Turns out, power mean freq is more accurate, so switching to that.

I also noticed some ringing when using Quadratic or higher interpolation; given that I'm already upsampling beyond the needed level, and using interpolation to align the points exactly, linear should do just fine (and won't ring).

Also fixes #52 and #53