Code for extracting FIR timecourses for ROIS using marsbar.
For each subject and ROI, a FIR timecourse is extracted and saved as both a matlab structure and a .csv file.
config.m= specify variables and pathsin this fileextract_timecourses.m= script that extracts the FIR timecourses
- ROI(s) must have been extraced from marsbar and save as .mat files. ROI names cannot include dashes(
-) and must have the following pattern*_roi.mat
- Structure
$timecoursessaved to$output_diras a .mat file - Table
$datatablesaved to$output_diras a .csv file
More information about the marsbar code can be found here