aslprep.workflows.asl.hmc module
Workflows for estimating and correcting head motion in ASL images.
- init_asl_hmc_wf(mem_gb, omp_nthreads, name='asl_hmc_wf')[source]
Estimate head-motion parameters and optionally correct them for intensity differences.
This workflow separately estimates motion parameters for each unique type of volume (e.g., control, label, deltam, M0, CBF), and then stitches the resulting parameters back together according to the aslcontext file.
- Workflow Graph
(Source code, png, svg, pdf)
- Parameters:
- Inputs:
asl_file – Control-label pair series NIfTI file. If an ASL run contains M0 volumes, deltaM volumes, or CBF volumes, those volumes should be removed before running this workflow.
aslcontext – ASL context TSV file.
raw_ref_image – Reference image to which ASL series is motion corrected
- Outputs:
xforms – ITKTransform file aligning each volume to
ref_imagemovpar_file – MCFLIRT motion parameters, normalized to SPM format (X, Y, Z, Rx, Ry, Rz)
rms_file – Framewise displacement as measured by
fsl_motion_outliers
Notes
ASLPrep uses volume type-wise motion correction [1] instead of the zig-zag regression approach [2] because it is unclear how M0 volumes should be treated in the zig-zag method.
References
- init_m0scan_hmc_wf(output_dir, mem_gb, omp_nthreads, name='m0scan_hmc_wf')[source]
Estimate head-motion parameters for the M0 scan.
This workflow resamples the M0 scan to the ASL reference resolution/orientation, and then applies MCFLIRT to the M0 scan.
- Workflow Graph
- Parameters:
- Inputs:
m0scan – M0 scan NIfTI file.
aslref – ASL reference image NIfTI file.
- Outputs:
m0scan2aslref_xfm – ITKTransform file aligning the M0 scan to the ASL reference.
m0scan_aslref – Mean M0 scan image in ASL reference space. Used for fit report workflow.