You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc='Name of file containing warp-coefficients/fields. This would typically be the output from the --cout switch of fnirt (but can also use fields, like the output from --fout).',
1195
+
argstr='--warp=%s',
1196
+
mandatory=True)
1197
+
reference=File(exists=True,
1198
+
desc='Name of a file in target space. Note that the target space is now different from the target space that was used to create the --warp file. It would typically be the file that was specified with the --in argument when running fnirt.',
1199
+
argstr='--ref=%s',
1200
+
mandatory=True)
1201
+
1202
+
inverse_warp=File(exists=True,
1203
+
desc='Name of output file, containing warps that are the "reverse" of those in --warp. This will be a field-file (rather than a file of spline coefficients), and it will have any affine component included as part of the displacements.',
1204
+
argstr='--out=%s',
1205
+
gen_file=True)
1206
+
1207
+
absolute=traits.Bool(argstr='--abs',
1208
+
desc='If set it indicates that the warps in --warp should be interpreted as absolute, provided that it is not created by fnirt (which always uses relative warps). If set it also indicates that the output --out should be absolute.',
1209
+
xor='relative')
1210
+
relative=traits.Bool(argstr='--rel',
1211
+
desc='If set it indicates that the warps in --warp should be interpreted as relative. I.e. the values in --warp are displacements from the coordinates in the --ref space. If set it also indicates that the output --out should be relative.',
1212
+
xor='absolute')
1213
+
niter=traits.Int(argstr='--niter=%d',
1214
+
desc='Determines how many iterations of the gradient-descent search that should be run.')
1215
+
regularise=traits.Float(argstr='--regularise=%f',
1216
+
desc='Regularisation strength (deafult=1.0).')
1217
+
noconstraint=traits.Bool(argstr='--noconstraint',
1218
+
desc='Do not apply Jacobian constraint')
1219
+
jacobian_min=traits.Float(argstr='--jmin=%f',
1220
+
desc='Minimum acceptable Jacobian value for constraint (default 0.01)')
1221
+
jacobian_max=traits.Float(argstr='--jmax=%f',
1222
+
desc='Maximum acceptable Jacobian value for constraint (default 100.0)')
1223
+
1224
+
classInvWarpOutputSpec(TraitedSpec):
1225
+
inverse_warp=File(exists=True, desc='Name of output file, containing warps that are the "reverse" of those in --warp.')
0 commit comments