dmriprep.workflows.dwi.outputs module
Write outputs (derivatives and reportlets).
- dmriprep.workflows.dwi.outputs.init_dwi_derivatives_wf(output_dir, name='dwi_derivatives_wf')View on GitHub
Set up a battery of datasinks to store dwi derivatives in the right location.
- dmriprep.workflows.dwi.outputs.init_dwi_fit_derivatives_wf(output_dir, fieldmap_id=None, name='dwi_fit_derivatives_wf')View on GitHub
Set up datasinks to store fit-stage derivatives.
This workflow saves the outputs of the fit stage, including reference images, transforms, and rotated gradient directions.
- Parameters:
- Inputs:
source_file – DWI file used as naming reference.
hmc_dwiref – HMC reference image.
coreg_dwiref – Coregistration reference (SDC-corrected if available).
dwi_mask – Brain mask in DWI space.
motion_xfm – Per-volume motion transforms.
dwiref2anat_xfm – DWI-to-anatomical coregistration transform.
dwiref2fmap_xfm – DWI-to-fieldmap registration transform.
fmap_coeff – Fieldmap B-spline coefficients.
out_bvec – Motion-corrected (rotated) b-vectors.
out_bval – b-values file.
- dmriprep.workflows.dwi.outputs.init_dwi_preproc_derivatives_wf(output_dir, space='orig', name='dwi_preproc_derivatives_wf')View on GitHub
Set up datasinks to store preprocessed DWI derivatives.
- Parameters:
- Inputs:
source_file – DWI file used as naming reference.
dwi_preproc – Preprocessed DWI image.
dwi_ref – Reference volume from preprocessed DWI.
dwi_mask – Brain mask in output space.
out_bvec – Motion-corrected b-vectors.
out_bval – b-values file.
- dmriprep.workflows.dwi.outputs.init_reportlets_wf(output_dir, sdc_report=False, name='reportlets_wf')View on GitHub
Set up a battery of datasinks to store reports in the right location.