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

[ENH] - Add interpolate_spectra function #288

Merged
merged 5 commits into from
Jul 21, 2023
Merged

[ENH] - Add interpolate_spectra function #288

merged 5 commits into from
Jul 21, 2023

Conversation

TomDonoghue
Copy link
Member

@TomDonoghue TomDonoghue commented Jul 18, 2023

This is a minor update that adds a convenience function, interpolate_spectra, that can be directly applied to interpolate away frequency regions across a group of power spectra.

To do so, it wraps interpolate_spectrum so it can be applied across an array of PSDs.
This PR also includes a minor update to docs_get_section to assist in copying over information.

Adding this was mentioned here: #203 (comment)

@TomDonoghue TomDonoghue added the 1.1 Targetted for a fooof 1.1 release. label Jul 18, 2023
@TomDonoghue TomDonoghue mentioned this pull request Jul 18, 2023
3 tasks
@TomDonoghue TomDonoghue requested a review from voytek July 18, 2023 20:39
Copy link
Contributor

@ryanhammonds ryanhammonds left a comment

Choose a reason for hiding this comment

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

Looks good!

@fooof-tools fooof-tools deleted a comment from codecov-commenter Jul 21, 2023
@TomDonoghue TomDonoghue merged commit 118d200 into main Jul 21, 2023
6 checks passed
@TomDonoghue TomDonoghue deleted the interpg branch July 21, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.1 Targetted for a fooof 1.1 release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants