Skip to content

Commit 96f1033

Browse files
authored
volterra_expansion_order documentation error
For fMRI model specification, in SPM, matlabbatch{n}.spm.stats.fmri_spec.volt = 2 corresponds to 'Model Interactions' and matlabbatch{n}.spm.stats.fmri_spec.volt =1 corresponds to 'Do not model Interactions'. Currently, for the corresponding process in nipype, the Level1Design, we see volterra_expansion_order = traits.Enum(1, 2, field="volt", desc=("Model interactions - yes:1, no:2")). I guess the correct description should rather be volterra_expansion_order = traits.Enum(1, 2, field="volt", desc=("Model interactions - no:1, yes:2"))
1 parent d2a48e1 commit 96f1033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/spm/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Level1DesignInputSpec(SPMCommandInputSpec):
8181
mandatory=True,
8282
)
8383
volterra_expansion_order = traits.Enum(
84-
1, 2, field="volt", desc=("Model interactions - yes:1, no:2")
84+
1, 2, field="volt", desc=("Model interactions - no:1, yes:2")
8585
)
8686
global_intensity_normalization = traits.Enum(
8787
"none",

0 commit comments

Comments
 (0)