-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
MRG: Add convenience function to "prepare" emptyroom raw file for maxwell_filter #10537
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
MRG: Add convenience function to "prepare" emptyroom raw file for maxwell_filter #10537
Conversation
This is ready for review. |
Return a copy then
|
Qt test failure is unrelated. This is good to merge from my end. |
…berger/mne-python into hoechenberger/issue10533
…oechenberger/issue10533
I just added parameters to allow the user to decide whether or not to copy over I wasn't sure what to do about Tests are still missing. WDYT? |
Changing this changes You need this to match 1) if you're doing movement compensation, or 2) if you're going to If you want to |
So this is a problem with my current proposal, then? Because we couldn't allow for keeping the ER annotations and ensuring movement compensation would work as expected at the same time? 🤔 |
I think we can. For example if there are known really bad sections of ER data you don't want to keep them (e.g., for cov calc), using |
@larsoner Could you please take a look at my latest commit 971a519? Some tests are failing and I don't have the time to look into this right now, but I wanted to ask what you think about this approach in general? |
Note to self (I don't want to push changes while @larsoner is potentially working on something):
|
Feel free to push, I don't have any in-progress changes currently |
…oechenberger/issue10533
…10533 * upstream/main: MAINT: Extra test for coreg (mne-tools#10549) BUG: Fix annot meas_date / crop (mne-tools#10491) Update latest.inc
…10533 * upstream/main: MAINT: Respect activation (mne-tools#10546) [ENH, MRG] Add Automatic Muscle Artifact ICA Component Detection (mne-tools#10534)
@hoechenberger I simplified the logic a bit, split the test for speed purposes, and added a new param. Can you look and see what you think? |
Will do! We can talk tomorrow during the dev meeting |
From my end this is feature complete and ready to go, hopefully you agree and can just merge. But yes if you think there is something wrong or more to change then we can discuss |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks @larsoner! |
Fixes #10533
This is a first quick draft, I'm looking for feedback.
cc @agramfort