script to automize timeseries extraction for multi-subject studies, typically a pre-step for DCM
A better documented way in what the script does can be found at Kessler et al. 2020 in section time series extraction.
--> do not forget to change file paths / path structure