@@ -1575,23 +1575,26 @@ class ConvertWarpInputSpec(FSLCommandInputSpec):
1575
1575
desc = 'filename for pre-transform (affine matrix)' )
1576
1576
1577
1577
warp1 = File (exists = True , argstr = '--warp1=%s' ,
1578
- desc = ('Name of file containing warp-fields/coefficients. This could e.g. be a '
1578
+ desc = ('Name of file containing inital warp-fields/coefficients (follows premat) . This could e.g. be a '
1579
1579
'fnirt-transform from a subjects structural scan to an average of a group '
1580
1580
'of subjects.' ))
1581
+
1582
+ midmat = File (exists = True , argstr = "--midmat=%s" ,
1583
+ desc = "Name of file containing mid-warp-affine transform" )
1581
1584
1582
1585
warp2 = File (exists = True , argstr = '--warp2=%s' ,
1583
- desc = ('Name of file containing warp-fields/coefficients. This could e.g. be a '
1586
+ desc = ('Name of file containing secondary warp-fields/coefficients (after warp1/midmat but before postmat) . This could e.g. be a '
1584
1587
'fnirt-transform from the average of a group of subjects to some standard '
1585
1588
'space (e.g. MNI152).' ))
1586
1589
1587
1590
postmat = File (exists = True , argstr = '--postmat=%s' ,
1588
- desc = ('Name of file containing an affine transform. It could e.g. be an affine '
1591
+ desc = ('Name of file containing an affine transform (applied last) . It could e.g. be an affine '
1589
1592
'transform that maps the MNI152-space into a better approximation to the '
1590
1593
'Talairach-space (if indeed there is one).' ))
1591
1594
1592
1595
shift_in_file = File (exists = True , argstr = '--shiftmap=%s' ,
1593
1596
desc = ('Name of file containing a "shiftmap", a non-linear transform with '
1594
- 'displacements only in one direction. This would typically be a '
1597
+ 'displacements only in one direction (applied first, before premat) . This would typically be a '
1595
1598
'fieldmap that has been pre-processed using fugue that maps a '
1596
1599
'subjects functional (EPI) data onto an undistorted space (i.e. a space '
1597
1600
'that corresponds to his/her true anatomy).' ))
@@ -1626,12 +1629,12 @@ class ConvertWarpInputSpec(FSLCommandInputSpec):
1626
1629
'coordinates in the next space.' ))
1627
1630
1628
1631
out_abswarp = traits .Bool (argstr = '--absout' , xor = ['out_relwarp' ],
1629
- desc = ('If set it indicates that the warps in --out should be relative , i.e. '
1630
- 'the vaulues in --out are displacements from the coordinates in --ref.' ))
1632
+ desc = ('If set it indicates that the warps in --out should be absolute , i.e. '
1633
+ 'the values in --out are displacements from the coordinates in --ref.' ))
1631
1634
1632
1635
out_relwarp = traits .Bool (argstr = '--relout' , xor = ['out_abswarp' ],
1633
1636
desc = ('If set it indicates that the warps in --out should be relative, i.e. '
1634
- 'the vaulues in --out are displacements from the coordinates in --ref.' ))
1637
+ 'the values in --out are displacements from the coordinates in --ref.' ))
1635
1638
1636
1639
1637
1640
class ConvertWarpOutputSpec (TraitedSpec ):
0 commit comments