Attached is a "rough and ready" batch script for a paired t-test
in SPM2.
Rik
Wei Wen wrote:
>
> Hi,
>
> Is there a batch mode or any quick/easier way of selecting images for
> paired t-test model?
>
> When using SPM99 or SPM2 using paired t-test, the user is prompted with
> the nth subject condition 1 and 2 and expected to select 2 images every
> time for each subject. If there are hundreds of subjects and double of
> that images, it is very tedious to manually select each image etc. Is
> there a way say, after the images are arranged in alphabetical order,
> all the images in condition 1 are selected in a one go such as using
> 'all' in a dir, and then selecting all the images of condition 2?
>
> Thanks very much.
>
> WW
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Name: InterScan_Disclaimer.txt
> InterScan_Disclaimer.txt Type: Plain Text (text/plain)
> Encoding: 7bit
--
---------------------------------------------------------
DR RICHARD HENSON
Institute of Cognitive Neuroscience
& Wellcome Department of Imaging Neuroscience
University College London
17 Queen Square
London, WC1N 3AR
England
EMAIL: [log in to unmask]
URL: http://www.fil.ion.ucl.ac.uk/~rhenson
TEL1 +44 (0)20 7679 1120
TEL2 +44 (0)20 7833 7472
FAX +44 (0)20 7813 1420
MOB +44 (0)794 1377 345
---------------------------------------------------------
--
|