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

Fixed length epochs overlap #9096

Merged
merged 9 commits into from Mar 18, 2021

Conversation

sfc-neuro
Copy link
Contributor

Reference issue

Fixes #8773.

What does this implement/fix?

Adds compatibility for the overlap parameter in the function make_fixed_length_epochs

Additional information

Tests were also added to test the new feature inspired by the pre-existing ones written for make_fixed_length_events.

mne/epochs.py Outdated Show resolved Hide resolved
mne/epochs.py Outdated Show resolved Hide resolved
mne/viz/ica.py Outdated Show resolved Hide resolved
mne/epochs.py Outdated Show resolved Hide resolved
mne/tests/test_epochs.py Outdated Show resolved Hide resolved
mne/tests/test_epochs.py Outdated Show resolved Hide resolved
mne/tests/test_epochs.py Outdated Show resolved Hide resolved
@sfc-neuro sfc-neuro changed the title Fixed length epochs overlay Fixed length epochs overlap Mar 17, 2021
Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

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

can we just add a what's new entry?

thx @sfc-neuro !

@agramfort
Copy link
Member

@sfc-neuro can you quickly push a what's new entry so we can move on here? thanks

doc/changes/latest.inc Outdated Show resolved Hide resolved
mne/epochs.py Outdated Show resolved Hide resolved
Copy link
Member

@hoechenberger hoechenberger left a comment

Choose a reason for hiding this comment

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

LGTM once CI is green

@wmvanvliet wmvanvliet merged commit a6abf36 into mne-tools:main Mar 18, 2021
@wmvanvliet
Copy link
Contributor

Thanks @sfc-neuro!

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.

Adding overlap keyword to make_fixed_length_epochs
4 participants