I’ve written a set of scripts that work data through our analysis pipeline. Each dataset will have its own set of scripts because every dataset will have slightly different parameters and need adjusted scripts. These are here to serve as a guide. You can look at past scripts and their comments to see what they’re doing.
automation1.m
- imports .raw files
- selects channel location file
- deletes bad channels
- filters data
- runs ICA
- divides dataset into epochs
- removes baseline
- saves file
SASICA
- removing non-neural components with SASICA
- no script for this one; see ICA
automation3.m
- separates each stimulus type into its own file
automation4.m
- converts data to FieldTrip format
- loads data into FieldTrip
- calculates average waveform for each event type for each person
automation5.m
- plots and saves headplots for the N170, EPN, and LLP for each subject for each stimulus type
automation6.m
- plots and saves waveforms for N170, EPN, and LLP for each subject for each stimulus type
automation7.m
- calculates average amplitude for a set of channels for a time window for N170, EPN, and LLP for each subject for each stimulus type