Dear Hestia,
Not sure what is happening here but one way to start debugging is to put
a breakpoint in spm_run_fmri_spec.m at line 224:
https://github.com/spm/spm12/blob/master/config/spm_run_fmri_spec.m#L224
and compare the content of the 'cond' variable when using the 'multiple
conditions' MAT-file vs specifying the three conditions manually.
Otherwise please send me the two batch files as well as the multiple
conditions file.
Best regards,
Guillaume.
On 22/02/2022 16:00, Moningka, Hestia wrote:
> Dear SPM experts,
>
> I am trying to specify a first-level GLM on SPM12 with 3 conditions in
> each session and 2 parametric modulators within one of the conditions.
> I've read that SPM automatically does sequential orthogonalisation and I
> wanted to turn this off via batch script.
>
> I tried to do this when using the 'multiple conditions' option and I
> included a cell array 'orth', setting it to false for the condition with
> 2 pmods, and saved it in a .mat file which also includes 'names',
> 'onsets', 'durations' and 'pmod':
>
> orth=cell(1,3);
>
> orth{1} = true;
>
> orth{2} = true;
>
> orth{3} = false;
>
>
> I manually turned off orthogonalisation via the GUI for one participant
> to see if the results are the same when I do it manually versus when I
> do it via the 'multiple conditions' option. The results are not the same
> and I was wondering if I've specified 'orth' incorrectly for the
> 'multiple conditions' option?
>
> Also, is there a way to check if spm has successfully conducted
> orthogonalisation or not?
>
> Many thanks,
> Hestia
>
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|