help > RE: Changing default values in the Batch-script
Aug 17, 2012 06:08 AM | RE: Changing default values in the Batch-script Dear Alfonso Thank you for your quick reply, this went perfectly fine! Best Diana Originally posted by Alfonso Nieto-Castanon: 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]); BestAlfonsoOriginally 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 |
| Title | Author | Date |
| Changing default values in the Batch-script | Diana Wotruba | Aug 13, 2012 |
| RE: Changing default values in the Batch-script | Alfonso Nieto-Castanon | Aug 16, 2012 |
| RE: Changing default values in the Batch-script | Diana Wotruba | Aug 17, 2012 |








