Skip to content

Commit 2fc998b

Browse files
authored
clarify description
The exact description of SPM is as follows: "Alternatively you can enter the slice timing in ms for each slice individually. If doing so, the next item (Reference Slice) will contain a reference time (in ms) instead of the slice index of the reference slice."
1 parent 18af918 commit 2fc998b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ class SliceTimingInputSpec(SPMCommandInputSpec):
4747
'calculated as TR-(TR/num_slices)'),
4848
mandatory=True)
4949
slice_order = traits.List(traits.Float(), field='so',
50-
desc=('1-based order or onset in which slices are '
51-
'acquired'),
50+
desc=('1-based order or onset (in ms) in which '
51+
'slices are acquired'),
5252
mandatory=True)
5353
ref_slice = traits.Int(field='refslice',
54-
desc='1-based Number of the reference slice',
54+
desc='1-based Number of the reference slice or '
55+
'reference time point if slice_order is in '
56+
'onsets (ms)',
5557
mandatory=True)
5658
out_prefix = traits.String('a', field='prefix', usedefault=True,
5759
desc='slicetimed output prefix')

0 commit comments

Comments
 (0)