Warning: This document is for an old version of dmriprep. The main version is master.

dmriprep.workflows.dwi.outputs module

Write outputs (derivatives and reportlets).

dmriprep.workflows.dwi.outputs.init_dwi_derivatives_wf(output_dir, name='dwi_derivatives_wf')

Set up a battery of datasinks to store dwi derivatives in the right location.

Parameters
  • output_dir (str) – Directory in which to save derivatives.

  • name (str) – Workflow name (default: "dwi_derivatives_wf").

Inputs
  • source_file – One dwi file that will serve as a file naming reference.

  • dwi_ref – The b0 reference.

  • dwi_mask – The brain mask for the dwi file.

dmriprep.workflows.dwi.outputs.init_reportlets_wf(output_dir, sdc_report=False, name='reportlets_wf')

Set up a battery of datasinks to store reports in the right location.