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

spectparam calculates the slope for Nyquist regardless of the freq-range #336

Closed
mayucel opened this issue Oct 23, 2024 · 2 comments
Closed

Comments

@mayucel
Copy link

mayucel commented Oct 23, 2024

My nyquist is 2.5.
So if I type in

Import the model object

from specparam import SpectralModel

Initialize model object

fm = SpectralModel()

Define frequency range across which to model the spectrum

freq_range = [0.01, 1]

Model the power spectrum with FOOOF, and print out a report

fm.report(freq, psdx, freq_range)

It still plots and fits until 2.5Hz instead of 1.

@TomDonoghue
Copy link
Member

This is the same issue as #327 - please check the issues board before opening a new issue.

This issue has been fixed - you can install the version from Github to get the fix

@mayucel
Copy link
Author

mayucel commented Oct 24, 2024

Thanks!

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

2 participants