@@ -709,10 +709,9 @@ def _run_interface(self, runtime):
709
709
if runtime .stderr :
710
710
self .raise_exception (runtime )
711
711
return runtime
712
-
713
-
712
+
713
+
714
714
class EpiRegInputSpec (FSLCommandInputSpec ):
715
-
716
715
epi = File (exists = True , argstr = '--epi=%s' , mandatory = True , position = - 4 , desc = 'EPI image' )
717
716
t1_head = File (exists = True , argstr = '--t1=%s' , mandatory = True , position = - 3 , desc = 'wholehead T1 image' )
718
717
t1_brain = File (exists = True , argstr = '--t1brain=%s' , mandatory = True , position = - 2 , desc = 'brain extracted T1 image' )
@@ -724,8 +723,8 @@ class EpiRegInputSpec(FSLCommandInputSpec):
724
723
echospacing = traits .Float (argstr = '--echospacing=%f' , desc = 'Effective EPI echo spacing (sometimes called dwell time) - in seconds' )
725
724
pedir = traits .Enum ('x' , 'y' , 'z' , '-x' , '-y' , '-z' ,argstr = '--pedir=%s' ,desc = 'phase encoding direction, dir = x/y/z/-x/-y/-z' )
726
725
727
- class EpiRegOutputSpec ( TraitedSpec ):
728
-
726
+
727
+ class EpiRegOutputSpec ( TraitedSpec ):
729
728
out_file = File (exists = True , desc = 'epi input unwarped and registered to anatomy' )
730
729
out_flirt_file = File (exists = True , desc = 'output of last flirt bbr fieldmap registration, basically the same as out_file but different interpolation?' )
731
730
fmap2str_mat = File (exists = True , desc = 'affine fieldmap to structural transformation' )
@@ -743,7 +742,10 @@ class EpiRegOutputSpec( TraitedSpec ):
743
742
# _fieldmap2str_init.mat
744
743
# _fieldmaprads2str_dilated.nii.gz
745
744
745
+
746
746
class EpiReg (FSLCommand ):
747
+ """
748
+ """
747
749
_cmd = 'epi_reg'
748
750
input_spec = EpiRegInputSpec
749
751
output_spec = EpiRegOutputSpec
@@ -774,3 +776,4 @@ def _list_outputs(self):
774
776
self .inputs .out_base + '_fieldmaprads2epi_shift.nii.gz' )
775
777
776
778
return outputs
779
+
0 commit comments