Temporally truncate BOLD data I'm analyzing some resting-state data and some of the scans are 10 min while others are 7 min. I need to cut the last 3 min off of those with 10 min scans so everyone has 7 min of resting-state data. I realize I could just delete timeseries columns after processing but I'd like to perform the truncation earlier so that my temporal filtering isn't biased. I believe there's an FSL tool to accomplish this but can't find it. Any suggestions?
It looks like fslroi is the tool I'm looking for. To temporally truncate a scan the usage would be fslroi &lt;input&gt; &lt;output&gt; &lt;tmin&gt; &lt;tsize&gt; where &lt;tmin&gt; would be zero and &lt;tsize&gt; would be the number of volumes you want to keep. Now I just need to figure out how many volumes make up 7 minutes...