[color=#000000]Hi Marcel,[/color]
[color=#000000]To specify additional options you may simply add to your [i]conn_module('preprocessing',...) [/i]call any number of "'fieldname', fieldvalue" pairs. All of the fields described in the "BATCH.Setup.preprocessing" section of "[url=https://web.conn-toolbox.org/resources/conn_batch]help conn_batch[/url]" are accepted by conn_module('preprocessing',...) as well. For example, to specify conservative ART thresholds, you may use something like:[/color]
conn_module('preprocessing', 'steps', 'functional_art', 'functionals', {{'/example/run01.nii','/example/run02.nii'}}, 'art_thresholds', [3, 0.5]);
Hope this helps
Alfonso
[i]Originally posted by Marcel Daamen:[/i][quote]Hello,
as a newbie, I'm still struggling a bit with the command line syntax for batch scripting.
Specifically, I want to run functional_ART on some data sets that I processed outside CONN: I discovered a recent SPM posting by Alfonso that provides the basic command line code[quote]conn_module('preprocessing', 'steps', 'functional_art', 'functionals', {{'/example/run01.nii','/example/run02.nii'}});[/quote]
Works fine in general, but I would like to use the more conservative settings for outlier detection. From the online documentation for conn_module, I did not really understand how to set this up. Can I add items to this one-liner, and if so, how?
Thanks in advance for your help,
Marcel[/quote]
[color=#000000]To specify additional options you may simply add to your [i]conn_module('preprocessing',...) [/i]call any number of "'fieldname', fieldvalue" pairs. All of the fields described in the "BATCH.Setup.preprocessing" section of "[url=https://web.conn-toolbox.org/resources/conn_batch]help conn_batch[/url]" are accepted by conn_module('preprocessing',...) as well. For example, to specify conservative ART thresholds, you may use something like:[/color]
conn_module('preprocessing', 'steps', 'functional_art', 'functionals', {{'/example/run01.nii','/example/run02.nii'}}, 'art_thresholds', [3, 0.5]);
Hope this helps
Alfonso
[i]Originally posted by Marcel Daamen:[/i][quote]Hello,
as a newbie, I'm still struggling a bit with the command line syntax for batch scripting.
Specifically, I want to run functional_ART on some data sets that I processed outside CONN: I discovered a recent SPM posting by Alfonso that provides the basic command line code[quote]conn_module('preprocessing', 'steps', 'functional_art', 'functionals', {{'/example/run01.nii','/example/run02.nii'}});[/quote]
Works fine in general, but I would like to use the more conservative settings for outlier detection. From the online documentation for conn_module, I did not really understand how to set this up. Can I add items to this one-liner, and if so, how?
Thanks in advance for your help,
Marcel[/quote]