HBCD branch of the MADE pipeline for EEG preprocessing
Selects the ROI for the ERP. The channels in the coded name are in “clusters” (e.g. “oz”, “p8”, “user_defined”). The researcher can feel free to add more ROIs in the “clusters” section and then indicate them in the FACE.ROI_of_Interest section (or MMN, RS, VEP, depending on the task of interest). The "all" cluster is specified with [] and will result in selecting all channels.
Time of start of the epoch. Please consider that the value will turn negative in the script. (E.g. 0.1 will be -100 ms). This is also the time where the range for the ERP will start.
Time of the end of the epoch. It is seconds and will be transform in milliseconds (E.g. 0.5 will be 500 ms). This is also the time where the range for the ERP will end.
This will be used for the time window of interest in the topoplots and in the averages for the .mat files (and potentially future metrics).
This will be used for the time window of interest in the topoplots and in the averages for the .mat files (and potentially future metrics).
This gives the option on applying a second lowpass filter before creating the ERPs. (1 for using the filter, 0 for not)
In case we apply a second filter right before epoching, this will determine the lowpass filter used (e.g. 30).
The “event” code name where the data is epoched around (e.g. “DIN3”)
The time ranges in seconds which will be used for SME and meanAmplitude computation. There have to be the same number of score_times and score_ROIs.
The ROIs to be used for computing SME and meanAmplitude. There have to be the same number of score_times and score_ROIs.