-
Notifications
You must be signed in to change notification settings - Fork 17
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
Providing resting-state data as the clean reference in clean_windows.m #22
Comments
If your data are numerically ill-conditioned (e.g., rank-deficient), for instance after re-referencing and/or if the clean data are possibly too short for the given # of channels, then the method could fail to calculate some solutions correctly and that can look like it's injecting noise into the data like in your example. Such a thing has been observed in some rare cases in the past. |
Thank you Corentin, I am now closing this issue. |
Dear developers,
This issue is a follow up on an email exchange I got with Arnaud Delorme and Makoto Miyakoshi a year ago.
I wanted to know whether it was possible to provide (for one given subject)
Clean_rawdata
with resting-state data to build the clean reference to finally preprocess ERP data (which are surely dirtier that resting data). Since the idea of theclean_windows
is to find a clean reference section, I figured a resting-state recording would provide cleaner reference sections compared to portions of the ERP data.Here is the code I used (MATLAB R2019b & EEGLAB 2021.0 & Clean_rawdata2.3):
The code runs smoothly, unfortunately using resting-state data to select the clean reference section seems to generate more noise that it filters them (RED = Raw; BLUE = Cleaned) :
Does anyone have a hint why this is failing? Maybe this is conceptually wrong?
I currently have this procedure registered in an upcoming Registered Report and would like to dig in deeper to see if I can make it work.
Many thanks,
Corentin
The text was updated successfully, but these errors were encountered: