Conversation
* upstream/main: (50 commits) ENH: Improve OPM auditory dataset and example (mne-tools#12539) MAINT: Bump to latest pydata-sphinx-theme (mne-tools#12228) MRG: Simplify manual installation instructions a little by dropping explicit mention of (lib)mamba (mne-tools#12362) fix PSD weights handling when bad annotations present (mne-tools#12538) Fix phase loading (mne-tools#12537) align FFT windows to good data spans in psd_array_welch (mne-tools#12536) explicitly disallow multitaper in presence of bad annotations (mne-tools#12535) MAINT: Clean up PyVista contexts (mne-tools#12533) MAINT: Complete API change of ordered (mne-tools#12534) MAINT: Reinstall statsmodels and improve logging (mne-tools#12532) MAINT: Remove scipy.signal.morlet2 (mne-tools#12531) Update README badge links (mne-tools#12529) BUG: Fix bug with reading his_id from snirf (mne-tools#12526) [pre-commit.ci] pre-commit autoupdate (mne-tools#12524) Fix file format check in _check_eeglab_fname function (mne-tools#12523) MAINT: Reenable picard in pre testing (mne-tools#12525) MAINT: Bump to large resource class (mne-tools#12522) MAINT: Restore 2 jobs on Windows (mne-tools#12520) Add exclude_after_unique option to mne.io.read_raw_edf/read_raw_edf to search for exclude channels after making channel names unique (mne-tools#12518) Improve consistency of sensor types in code and documentation (mne-tools#12509) ...
|
@drammock realized we should get this in to 1.7 as well. Ready for review/merge from my end! |
|
Argh https://physionet.org/ is down but example renders okay locally
|
|
Related MIT-LCP/physionet#154 |
I think this refers to my problem, though it created a rank for MAG instead of MEG. It's discussed here #9094 (comment) A MWE is here: https://colab.research.google.com/drive/1LBq8Sg-30Cnlj9sYLPtEcsPIyBtsvxF8?usp=sharing#scrollTo=_hS__cmSGVIU The only problem is that the logger still indicates MAG channels which don't exist, but all other problems are solved. |
* upstream/main: fix prefilter management for EDF/BDF (mne-tools#12441) [pre-commit.ci] pre-commit autoupdate (mne-tools#12541) ENH: Allow removal of (up to two) bad marker coils in read_raw_kit() (mne-tools#12394) Implement `picks` argument to `Raw.plot()` (mne-tools#12467) Add Meggie under Related Software documentation (mne-tools#12540)
|
Okay pushed a commit to fix that |
|
Thanks @larsoner! |
|
Seems like this PR introduces a bug, reported here: https://mne.discourse.group/t/the-api-reference-of-csp-needs-updata/9018/2 |




Closes #9094
WIP because I haven't thoroughly tested or anything. But at least modifying the example things work out of the box. The "trick" is to use
_smart_eighto figure out the correct subspace, do theeigh(a, b)in that subspace, and project back the same way we do with covariances. (Now you shouldn't even have to supplyrankbecause it'll compute it from thecovfor you if you don't!)This really only works with a single channel type at the moment -- to properly support multiple channel types people should pass an
infoI think. So the TODO list is roughly:Addinfosupport to make multiple channel types support robustAdd an example using MEG+EEG