Open hoechenberger opened 10 months ago
To me you should just set n_proj_ecg=dict(eeg=0). Maybe we need to improve some error message suggesting to tweak f"n_proj_{kind}"
to disable computing projectors of that kind if not desired?
You're right, an error message improvement could already help!
I wanted to try out SSP for EOG artifact removal from my EEG data. I don't have an ECG channel and this makes impossible to use SSP in the pipeline, because we always try to create projectors for both, EOG and ECG, and the latter naturally fails for me:
https://github.com/mne-tools/mne-bids-pipeline/blob/9904fb3f31b4144c4efbcae2b657adb20298331c/mne_bids_pipeline/steps/preprocessing/_06b_run_ssp.py#L94