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

Modified Knee Fit #234

Open
ryanhammonds opened this issue Apr 15, 2022 · 0 comments
Open

Modified Knee Fit #234

ryanhammonds opened this issue Apr 15, 2022 · 0 comments
Labels
2.0 Targetted for the specparam 2.0 release.

Comments

@ryanhammonds
Copy link
Contributor

ryanhammonds commented Apr 15, 2022

I have a modified knee model that could be added as an option to the aperiodic funcs. The modification adds a constant to the aperiodic knee model to fit the psd of spikes trains, allowing power to taper off to a constant value at high frequencies. It may be useful to add here at some point. The modification below also directly fits a knee frequency (mentioned in #224).

knee_fit = np.log10(10**b * (1 / (knee**(exp) + xs**(exp))) + c)

ex_spectrum

@TomDonoghue TomDonoghue added the 2.0 Targetted for the specparam 2.0 release. label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 Targetted for the specparam 2.0 release.
Projects
None yet
Development

No branches or pull requests

2 participants