Skip to content

Conversation

@cacsphysics
Copy link
Collaborator

This issue partially solves #10, in the sense it implements the correct normalization for the hanning windowing.

There are two alterations that change how spectrum_wind is used. First, there are 9 output variables; the new is the power spectral density variable. The second change corresponds to the prefactor in the previous version. The prefactor is not removed entirely the new normalization implements the prefactor in the power density.

** I believe the previous version pwr variable was the power spectral density and not the power spectrum.

Adding the hanning norm windows; S1 and S2.
removing predefined prefactor; dt ~ 1/fs
Changing the default window to hanning
Removed the unused pwr_2 variable and including the renormalized pwr variable and the pwr_den variable.
Adding pwr_den to the list of output variables.
@cacsphysics cacsphysics marked this pull request as draft December 30, 2022 15:47
@cacsphysics
Copy link
Collaborator Author

cacsphysics commented Dec 30, 2022

The Hanning window and norm is correct. I have not implemented the other window-norms.

Don't finish this pull. For some reason all the files Josh uploaded were removed.

dschaffner pushed a commit that referenced this pull request Jul 16, 2024
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.

1 participant