I am figure out how to re-preprocess my data in order to extract out stats and nifti files for each block, instead of each run or each condition within a run. For example, in my initial preprocess, my generating script (below) resulting in stats files that I could 3dBucket into to extract nifti files that were an average beta weight for entire condition (unlabeled in the below):
I am trying to be able to extract a nifti file each block, instead. There are 4 blocks in each run and 8 blocks total. Here is the generating script I am working with:
If you want one beta weight per event, that is IM
(individual modulation). You should be able to just
add “-regress_stim_types IM” to the initial command.
Thank you! I will look into that now. But I still need to recreate all the onset files and include those in the generating script, right?
So it would look like:
Okay, thanks. I just want to clarify though, that is a block design, not event-related. So I am confused how this would output a beta weight for each condition without knowing the timing of each block for each run? The existing onsets files only have onsets for condition, not block. So I was assuming I would need to revise the onsets to be like:
example onset 1:
18 #run 1 block 1
#run 2
example onset2:
56 #run1, block 2
#run2
example onset3:
#run1
18 #run2, block 1
example onset4:
#run1
56 #run2, block 2
For this example, there would be 4 blocks and I would be hoping to extract 4 stats (for each).
Script with this command:
-regress_stim_types IM ONSETS/unlabeled.txt
It is thinking IM is a text file and outputting:
** A1D: failed to read data file IM
** failed to load stimulus timing file ‘IM’
That -regress_stim_types option should only list the
stimulus types, like ‘times’ or ‘IM’. The timing files
(like ONSETS/unlabeled.txt) should still be listed via
-regress_stim_times.
rick
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.