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

More flexibility for computing the power_spectrum #37

Open
me-pic opened this issue Sep 19, 2024 · 0 comments
Open

More flexibility for computing the power_spectrum #37

me-pic opened this issue Sep 19, 2024 · 0 comments
Assignees

Comments

@me-pic
Copy link
Contributor

me-pic commented Sep 19, 2024

Detailed Description

Currently the power_spectrum function only specifies the data (mandatory) and the sampling frequency (sampling rate), and uses the default scipy values for the other parameters, including nperseg which defined the length of each segment (see scipy doc). However the default value for that parameter is 256, which can lead to low frequency resolution...

Possible Implementation

One ressource online pointed out this report. Will have to take a better look at it, but if anyone has recommandations regarding how to select properly the value of that parameter, that could be helpful !

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