Excluding first TRs from analysis

nipype

#1

Hi,
In our data we usually excluding the first 10 TR’s (TR=1sec) from analysis. How can I do it in Nipype first level analysis?
I try to implement it using the following script:
https://github.com/poldrack/fmri-analysis-vm/blob/master/analysis/postFMRIPREPmodelling/First%20and%20Second%20Level%20Modeling%20(FSL).ipynb

Thanks


#2

Hi orduek,

you can specify TRs as outliers and this way exclude them from the analysis. You can do so by parsing a .txt. file to the optional input ‘outlier_files’ to the SpecifySPMModel node.
The .txt should include 0-based volume numbers that are to be excluded. An example is attached. sub-01_ses-01_task-class_run-01_bold_outliers.txt (108 Bytes)