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

Frequency domain corrections for nth octave spectrum and screening for tones functions #53

Merged
merged 19 commits into from
May 20, 2022

Conversation

wantysal
Copy link
Collaborator

  • The function noct_synthesis and noct_freq_filter have been enhanced for better accuracy compared to the filtering in time domain. The function butter and sosfreqz from scipy.signal are used.
  • In time domain, the use of a,b filter representation have been replaced by sos to improve the performance of noct_spectrum.
  • The function screening_for_tones has been corrected to correctly detect a potential peak on the first index
  • The function spectrum_smoothing now takes as input a spectrum of dimension (nperseg, nseg) as the rest of the functions

All the tests are running without any warning.

Tks :)

Copy link
Collaborator

@mglesser mglesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are missing output data description in a docstring

@mglesser mglesser merged commit 417e772 into Eomys:master May 20, 2022
@mglesser
Copy link
Collaborator

Thank you for your contribution

@wantysal wantysal deleted the freq_correction branch May 20, 2022 13:05
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.

2 participants