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
ENH: Add new dwifslpreproc interface for MRtrix3 (#3278)
* added mrtrix3 dwifslpreproc as interface
* use defaults added for outputs
* Added dwifslpreproc interface to __init__
* edited doc string to correct order
* added doctest skip
* added MRtrix3 gradient empty test data
* specified positions, requires for gradient exports
* finalized docstring example and pytest
* added entry to contribution list
* simplify phase-encoding design input
Moved `-rpe_` to `argstr` for simpler input.
Co-authored-by: Chris Markiewicz <[email protected]>
* Apply suggestions from code review
Fixed typos and improved `-eddy` and `-topup` optional inputs.
Co-authored-by: Chris Markiewicz <[email protected]>
* Update nipype/interfaces/mrtrix3/preprocess.py
Co-authored-by: Xihe Xie <[email protected]>
* fixed input positions according to review
* fixed doc string for new positions
Co-authored-by: Chris Markiewicz <[email protected]>
desc='Specify acquisition phase-encoding design. "none" for no reversed phase-encoding image, "all" for all DWIs have opposing phase-encoding acquisition, "pair" for using a pair of b0 volumes for inhomogeneity field estimation only, and "header" for phase-encoding information can be found in the image header(s)',
267
+
)
268
+
pe_dir=traits.Str(
269
+
argstr="-pe_dir %s",
270
+
mandatory=True,
271
+
desc="Specify the phase encoding direction of the input series, can be a signed axis number (e.g. -0, 1, +2), an axis designator (e.g. RL, PA, IS), or NIfTI axis codes (e.g. i-, j, k)",
272
+
)
273
+
ro_time=traits.Float(
274
+
argstr="-readout_time %f",
275
+
desc="Total readout time of input series (in seconds)",
276
+
)
277
+
in_epi=File(
278
+
exists=True,
279
+
argstr="-se_epi %s",
280
+
desc="Provide an additional image series consisting of spin-echo EPI images, which is to be used exclusively by topup for estimating the inhomogeneity field (i.e. it will not form part of the output image series)",
281
+
)
282
+
align_seepi=traits.Bool(
283
+
argstr="-align_seepi",
284
+
desc="Achieve alignment between the SE-EPI images used for inhomogeneity field estimation, and the DWIs",
285
+
)
286
+
eddy_options=traits.Str(
287
+
argstr='-eddy_options "%s"',
288
+
desc="Manually provide additional command-line options to the eddy command",
289
+
)
290
+
topup_options=traits.Str(
291
+
argstr='-topup_options "%s"',
292
+
desc="Manually provide additional command-line options to the topup command",
293
+
)
294
+
export_grad_mrtrix=traits.Bool(
295
+
argstr="-export_grad_mrtrix", desc="export new gradient files in mrtrix format"
296
+
)
297
+
export_grad_fsl=traits.Bool(
298
+
argstr="-export_grad_fsl", desc="export gradient files in FSL format"
0 commit comments