[Eeglablist] Questions about setting channel location map/file as a parameter in script
Karen Chan
its.karenchan at gmail.com
Fri Nov 8 00:24:12 PST 2024
[image: Screenshot 2024-11-08 161426.png]
Dear all,
I would like to inquire about ways to set channel location map/file as
a parameter in script for automated preprocessing EEG data. While I see
that the EEGLAB interface allows for selecting the channel map/locations,
the pop-up window shows up for each dataset during the analysis loop in the
script. This results in multiple interruptions as it prompts for channel
map input for every dataset processed. So I was wondering if there is a way
to set the channel map as a parameter in the code so that I don't have to
select it manually for each dataset?
I have used EEGLAB history (eegh) and tried the following code snippet, but
it did not work as intended:
EEG = pop_chanedit(EEG,
{'lookup','C:\\Users\\clchan398\\AppData\\Roaming\\MathWorks\\MATLAB
Add-Ons\\Collections\\EEGLAB\\functions\\supportfiles\\channel_location_files\\eeglab\\Standard-10-20-Cap81.ced'
});
Thank you for your time and assistance.
Best regards,
Karen
More information about the eeglablist
mailing list