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

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

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

dsweber2
Copy link
Member

@dsweber2 dsweber2 commented Jun 3, 2024

This fixes #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

@dsweber2 dsweber2 merged commit 4b92937 into UCD4IDS:master Jun 3, 2024
4 of 5 checks passed
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

Successfully merging this pull request may close these issues.

Wrong comment? [Bug?] getMeanFreq gives non-monotonous values for some wavelets
1 participant