qsiprep.workflows.dwi.confounds module
Calculate dwi confounds
- qsiprep.workflows.dwi.confounds.init_dwi_confs_wf()[source]
This workflow calculates confounds for a dwi series, and aggregates them into a TSV file, for use as nuisance regressors in a GLM.
The following confounds are calculated, with column headings in parentheses:
Framewise displacement, based on head-motion parameters (
framewise_displacement
)Estimated head-motion parameters, in mm and rad (
trans_x
,trans_y
,trans_z
,rot_x
,rot_y
,rot_z
)
(Source code, png, svg, pdf)
- Inputs:
sliceqc_file – dwi image, after the prescribed corrections (STC, HMC and SDC) when available.
motion_params – spm motion params
- Outputs:
confounds_file – TSV of all aggregated confounds
rois_report – Reportlet visualizing white-matter/CSF mask used for aCompCor, the ROI for tCompCor and the dwi brain mask.
- qsiprep.workflows.dwi.confounds.init_dwi_confs_wf()[source]
This workflow calculates confounds for a dwi series, and aggregates them into a TSV file, for use as nuisance regressors in a GLM.
The following confounds are calculated, with column headings in parentheses:
Framewise displacement, based on head-motion parameters (
framewise_displacement
)Estimated head-motion parameters, in mm and rad (
trans_x
,trans_y
,trans_z
,rot_x
,rot_y
,rot_z
)
(Source code, png, svg, pdf)
- Inputs:
sliceqc_file – dwi image, after the prescribed corrections (STC, HMC and SDC) when available.
motion_params – spm motion params
- Outputs:
confounds_file – TSV of all aggregated confounds
rois_report – Reportlet visualizing white-matter/CSF mask used for aCompCor, the ROI for tCompCor and the dwi brain mask.