xcp_d.workflows.bold.metrics module
Workflows for calculating BOLD metrics (ALFF and ReHo).
- xcp_d.workflows.bold.metrics.init_alff_wf(name_source, TR, mem_gb, name='alff_wf')[source]
Compute alff for both nifti and cifti.
- Workflow Graph
(Source code, png, svg, pdf)
- Parameters:
- Inputs:
denoised_bold – This is the
filtered, interpolated, denoised BOLD, although interpolation is not necessary if the data were not originally censored.bold_mask – bold mask if bold is nifti
temporal_mask
name_source
- Outputs:
alff – alff output
smoothed_alff – smoothed alff output
Notes
The ALFF implementation is based on Yu-Feng et al.[1], although the ALFF values are not scaled by the mean ALFF value across the brain.
If censoring is applied (i.e.,
fd_thresh > 0), then the power spectrum will be estimated using a Lomb-Scargle periodogram [2][3][4][5].This workflow will also generate a plot of the ALFF map. For CIFTI data, the plot will be overlaid on the midthickness surface- either the subject’s surface warped to fsLR space (when the anatomical workflow is enabled) or the fsLR 32k midthickness surface template.
References
- xcp_d.workflows.bold.metrics.init_reho_cifti_wf(name_source, mem_gb, name='cifti_reho_wf')[source]
Compute ReHo from surface+volumetric (CIFTI) data.
- Workflow Graph
(Source code, png, svg, pdf)
- Parameters:
- Inputs:
denoised_bold – residual and filtered, cifti
name_source
- Outputs:
reho – ReHo in a CIFTI file.
Notes
This workflow will also generate a plot of the ReHo map. The plot will be overlaid on the midthickness surface- either the subject’s surface warped to fsLR space (when the anatomical workflow is enabled) or the fsLR 32k midthickness surface template.
- xcp_d.workflows.bold.metrics.init_reho_nifti_wf(name_source, mem_gb, name='reho_nifti_wf')[source]
Compute ReHo on volumetric (NIFTI) data.
- Workflow Graph
(Source code, png, svg, pdf)
- Parameters:
- Inputs:
denoised_bold – residual and filtered, nifti
bold_mask – bold mask
name_source
- Outputs:
reho – reho output