Hi, the way I do it is as follows (pretty basic scripting stuff, so please do not expect any magic):
1) create a first-level design file (eg., exp1.fsf) using the GUI
2) run something like "for i in $Subjects; do feat exp1.fsf -D $i.feat; done" Here, the -D command overrides the output-direcory given in the *.fsf-file. You can modify the *.fsf-file with sed/awk/whatever before running it (for example to dynamically enter subject numbers or number of timepoints etc.)
3) Usually, I run the second level analysis manually. But certainly you can create a dummy 2nd-level *.fsf beforehand and run "feat 2nd-level.fsf" after all 1st level runs are complete within the same script (i.e. after the for...do...-loop)
Hope that helps,
Cornelius
.
Am 28.03.2010 um 15:29 schrieb Simon Rushton:
> I want to script some analyses to run on our cluster. I have a couple of basic questions -
>
> How do I script multiple level analyses, eg run 3 first-level feat analyses and then feed the output of those analyses into a higher-level analysis. Can I easily "hold" the higher-level analysis until the first-level analyses have completed?
>
> Can I turn off "debug" output from the feat analysis, ie not run slicer to generate the nice thresholded plots and registration plots? - for the batch analyses I have planned all I need are the final zstats.
>
> simon
|