@@ -102,7 +102,7 @@ class _FourToThreeOutputSpec(TraitedSpec):
102
102
103
103
class FourToThree (SimpleInterface ):
104
104
"""Split a 4D dataset along the last dimension
105
- into multiple 3D volumes."""
105
+ into a series of 3D volumes."""
106
106
107
107
input_spec = _FourToThreeInputSpec
108
108
output_spec = _FourToThreeOutputSpec
@@ -123,21 +123,21 @@ def _run_interface(self, runtime):
123
123
return runtime
124
124
125
125
126
- class _ConcatImagesInputSpec (BaseInterfaceInputSpec ):
126
+ class _MergeSeriesInputSpec (BaseInterfaceInputSpec ):
127
127
in_files = InputMultiObject (File (exists = True , mandatory = True ,
128
128
desc = 'input list of 3d images' ))
129
129
130
130
131
- class _ConcatImagesOutputSpec (TraitedSpec ):
132
- out_file = File (exists = True , desc = 'output list of 3d images ' )
131
+ class _MergeSeriesOutputSpec (TraitedSpec ):
132
+ out_file = File (exists = True , desc = 'output 4d image ' )
133
133
134
134
135
- class ConcatImages (SimpleInterface ):
136
- """Merge a list of 3D volumes along the last dimension into a single
135
+ class MergeSeries (SimpleInterface ):
136
+ """Merge a series of 3D volumes along the last dimension into a single
137
137
4D image."""
138
138
139
- input_spec = _ConcatImagesInputSpec
140
- output_spec = _ConcatImagesOutputSpec
139
+ input_spec = _MergeSeriesInputSpec
140
+ output_spec = _MergeSeriesOutputSpec
141
141
142
142
def _run_interface (self , runtime ):
143
143
nii_list = []
0 commit comments