Skip to content

SPM model - how to implement orthogonolise option for parametric modulation?  #2811

Open
@hstojic

Description

@hstojic

I am using parametric modulation, using SPM. SPM 12 has an option to switch off the default orthogonolisation of regressors, but it seems that option cannot be set from Nipype.

Is nipype setting it to false by default by any chance? I was trying to look under the hood in modelgen.py, but there is nothing there about exact commands sent to SPM - what code in the library I should look up for that?

I could hack the spm code to achieve that, but I would rather try finding a way to do it from nipype and perhaps send a pull request. How would one go about that? It's definitely an important option to be able to set.

According to the matlab batch file, orth is the option in addition to tmod and pmod

matlabbatch{1}.spm.stats.fmri_spec.sess.cond.pmod = struct('name', {}, 'param', {}, 'poly', {});
matlabbatch{1}.spm.stats.fmri_spec.sess.cond.orth = 0;

so we should enable that SPM specific option in the subject_info, along the tmod and pmod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions