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

SSP cannot be used with EEG data that doesn't contain an ECG sensor #798

Open
hoechenberger opened this issue Oct 26, 2023 · 2 comments
Open

Comments

@hoechenberger
Copy link
Member

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:

@hoechenberger hoechenberger added bug Something isn't working preprocessing labels Oct 26, 2023
@larsoner
Copy link
Member

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?

@hoechenberger
Copy link
Member Author

You're right, an error message improvement could already help!

@hoechenberger hoechenberger added documentation and removed bug Something isn't working labels Oct 26, 2023
@larsoner larsoner added the easy label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants