qsiprep.workflows.dwi.qc module

Utility workflows

qsiprep.workflows.dwi.qc.init_mask_overlap_wf(name='mask_overlap_wf')[source]

Check the Dice overlap of a b=0 mask and a T1-based mask for QC.

Inputs
anatomical_mask

Path to a high-resolution brain mask from a T1w image

dwi_mask

Path to a mask based on diffusion-weighted images

Outputs
dice_score

float value of the dice overlap of the masks

qsiprep.workflows.dwi.qc.init_modelfree_qc_wf(bvec_convention='DIPY', name='dwi_qc_wf')[source]

This workflow runs DSI Studio’s QC metrics

Parameters:
  • bvec_convention (“DIPY”, “FSL” or “auto”) – What kind of bvecs

  • name (str) – Name of workflow (default: dwi_qc_wf)

Inputs:
  • dwi_file – a single 4D dwi series

  • bval_file – bval file corresponding to the concatenated dwi_files inputs or dwi_file

  • bvec_file – bvec file corresponding to the concatenated dwi_files inputs or dwi_file

Outputs:

qc file – DSI Studio’s src QC metrics for the input data