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

Update glm_spectrum.py #252

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Update glm_spectrum.py #252

merged 1 commit into from
Jan 11, 2024

Conversation

matsvanes
Copy link
Collaborator

plot_joint_spectrum by default automatically determines which topo's to plot. However, it only looks for positive peaks, while it is probably more reasonable to look for any extrema (especially when plotting contrasts, or EEG data). With these changes, find_peaks is applied to the absolute data.

`plot_joint_spectrum` by default automatically determines which topo's to plot. However, it only looks for positive peaks, while it is probably more reasonable to look for any extrema (especially when plotting contrasts, or EEG data). 
With these changes, `find_peaks` is applied to the absolute data.
@matsvanes matsvanes requested a review from AJQuinn January 9, 2024 13:53
@matsvanes matsvanes merged commit d02df75 into main Jan 11, 2024
1 check passed
@matsvanes matsvanes deleted the glmspec_plotting branch January 11, 2024 15:10
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.

1 participant