help > RE: Changing default values in the Batch-script
Aug 17, 2012  02:08 AM | Alfonso Nieto-Castanon - Boston University
RE: Changing default values in the Batch-script
Dear Diana,

The batch commands do not yet include a specific option to change the bounding box (it uses the default SPM values). I would recommend simply changing the default SPM values before running your batch scripts. You can do so directly editing the file spm_defaults.m, or perhaps simpler (and more user-friendly if you are using shared resources), by including the following command with the desired bounding box values in your scripts (before the step where you issue the 'conn_batch' command):

spm_get_defaults('normalise.write.bb',[-78,-112,-70; 78,76,85]);
BestAlfonso
Originally posted by Diana Wotruba:
Dear Connusers

I would like to (pre)-process all the data using conn. Because I'm particularly interested in the cerebellum I would need to change the default values of the bounding box into -78 -112 -70 (otherwise it  does not include all of the cerebellum after normalizing the data). How would I change these values using batch-mode?

Thank you very much for your help!
Diana

Threaded View

TitleAuthorDate
Diana Wotruba Aug 13, 2012
RE: Changing default values in the Batch-script
Alfonso Nieto-Castanon Aug 17, 2012
Diana Wotruba Aug 17, 2012