-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
removed info = _simplify_info(info) from make_lcmv #11403
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
Conversation
it removes the the maxfilter processing_history from info
|
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
|
@britta-wstnr do you mind having a look? |
|
The |
|
Nice catch! Yeah, just moving the |
|
@larsoner @wmvanvliet |
It probably looks this way, but you might be surprised. For example, when writing to disk, all entries will be iterated over. It also happens any time there is a deepcopy operation, which happens more often than you might think. Those simplify-info calls tended to be added only when necessary, so I'd really rather not remove them unless absolutely necessary. It's very likely (almost guaranteed) to cause a performance regression of some sort. |
|
Hi @neurosignal, thanks for raising this! |
|
Hi @britta-wstnr I'll recheck the test you have pointed here and let you know very soon. Thanks. |
|
Chiming in from https://mne.discourse.group/t/unexpectedly-high-rank-reported-in-make-lcmv/6714 (thanks @hoechenberger!). FWIW the test @britta-wstnr linked above currently runs fine for me without error. One option would be to make as a hack to my production copy of |
|
Sure with a default of remove_proc_histoty=True that we set to False in beamforming code would work
This should already happen if the history is there and you do rank='info' |
I like this better than the other solution.
It would, but in |
|
Heh, copy-paste error by me here :) I meant to say that your solution of modifying @neurosignal do you want to try modifying |
|
Thanks @larsoner et al! |
it removes the the maxfilter processing_history from info which leads to incorrect rank detection with MaxFiltered FIFF MEG data.
Thanks for contributing a pull request! Please make sure you have read the
contribution guidelines
before submitting.
Please be aware that we are a loose team of volunteers so patience is
necessary. Assistance handling other issues is very welcome. We value
all user contributions, no matter how minor they are. If we are slow to
review, either the pull request needs some benchmarking, tinkering,
convincing, etc. or more likely the reviewers are simply busy. In either
case, we ask for your understanding during the review process.
Again, thanks for contributing!
Reference issue
Example: Fixes #1234.
What does this implement/fix?
Explain your changes.
Additional information
Any additional information you think is important.