Hi thanks for the quick replies.
I did try looking onto generating the design files myself, but I got stuck on reproducing the /PPheights and /RequiredEffect paramaters in the /con file. I'm not sure how these are calculated. I will look at the design_ttest2 script and hopefully that will point me in the right direction.
Thanks again
Mark
--
Hi - more generally, if you're scripting this anyway, it's pretty easy to generate design.mat and design.con files directly - see existing examples that you already have to see the formatting.
Cheers.
On 17 Jul 2013, at 09:29, OSKAR WIGELIUS <[log in to unmask]> wrote:
> Hi Mark,
>
> I have been looking around for a similar script and found design_ttest2 which gives you .con and .mat design matrices for a two-sample t-test matrix. If you try it and have a look at the output, maybe you can figure out how to modify the script itself - it is part the source code, after a default installation on my computer it is in /usr/local/fsl/src/randomise.
>
> Cheers,
> Oskar W
> M.Sc. Eng.Phys.
> Lund University
>
>
>
>
>
> 2013/7/17 Mark Drakesmith <[log in to unmask]>
>
> Dear FSLers
>
> I want to use randomise to test a number of designs on a large number of subjects. I want to automate the process, however I dont know of a way to generate a design.mat file without going through the Glm GUI, which is quite time consuming. Is there a command line version of this tool I can use in a script? say, one where I give it a matrix of my desired EVs and contrasts and it gives the .mat file i need for randomise.
>
> Many thanks
>
> Mark
>
>
> --
>
> --
>
> Dr. Mark Drakesmith
> Research Associate
>
> Caridff University Brain Research Imaging Centre (CUBRIC)
> School of Psychology
> Cardiff University
> Park Place
> Cardiff
> CF10 3AT
>
> Tel: +44 (0) 29 2087 0354
> Fax: +44 (0) 29 2087 0339
>
>
---------------------------------------------------------------------------
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director, Oxford University FMRIB Centre
FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
---------------------------------------------------------------------------
Stop the cultural destruction of Tibet
|