xcp_d.workflows.bold.connectivity module
Workflows for extracting time series and computing functional connectivity.
- xcp_d.workflows.bold.connectivity.init_functional_connectivity_cifti_wf(mem_gb, has_multiple_runs, exact_scans, name='connectivity_wf', skip_reho=False, skip_alff=False)[source]
Extract CIFTI time series.
This will parcellate the CIFTI file using the selected atlases and compute functional connectivity between all regions for the selected atlases. It will also parcellate ReHo and ALFF maps if they are provided.
- Workflow Graph
- Parameters:
- Inputs:
name_source (
str) – Path to the file that will be used as thesource_filefor derivatives. This is generally the preprocessed BOLD file. This file does not need to exist (e.g., in the case of a concatenated version of the filename).denoised_bold – Clean CIFTI after filtering and nuisance regression. The CIFTI file is in the same standard space as the atlases, so no transformations will be applied to the data before parcellation.
temporal_mask (
str) – Temporal mask; all values abovefd_threshset to 1. This is a TSV file with one column: ‘framewise_displacement’.alff
reho
atlases (
listofstr) – A list of atlases used for parcellating the BOLD data. The set of atlases to use is defined by the user.atlas_files
atlas_labels_files
- Outputs:
coverage_ciftis (
listofstr) – List of paths to atlas-specific coverage CIFTI (pscalar) files.timeseries_ciftis (
listofstr) – List of paths to atlas-specific time series CIFTI (ptseries) files. These time series are produced from thecensored_denoised_boldoutputs.correlation_ciftis (
listofstr) – List of paths to atlas-specific ROI-to-ROI correlation CIFTI (pconn) files. These correlations are produced from thetimeseries_ciftioutputs.correlation_ciftis_exact
coverage (
listofstr) – List of paths to atlas-specific coverage TSV files.timeseries (
listofstr) – List of paths to atlas-specific time series TSV files. These time series are produced from thecensored_denoised_boldoutputs.correlations (
listofstr) – List of paths to atlas-specific ROI-to-ROI correlation TSV files. These correlations are produced from thetimeseriesoutputs.correlations_exact
parcellated_reho
parcellated_alff
- xcp_d.workflows.bold.connectivity.init_functional_connectivity_nifti_wf(mem_gb, has_multiple_runs, name='connectivity_wf', skip_reho=False, skip_alff=False)[source]
Extract BOLD time series and compute functional connectivity.
- Workflow Graph
- Parameters:
- Inputs:
name_source (
str) – Path to the file that will be used as thesource_filefor derivatives. This is generally the preprocessed BOLD file. This file does not need to exist (e.g., in the case of a concatenated version of the filename).denoised_bold – clean bold after filtered out nuisscance and filtering
temporal_mask (
str) – Temporal mask; all values abovefd_threshset to 1. This is a TSV file with one column: ‘framewise_displacement’.alff
reho
atlases (
listofstr) – A list of atlases used for parcellating the BOLD data. The set of atlases to use is defined by the user.atlas_files
atlas_labels_files
- Outputs:
coverage (
listofstr) – List of paths to atlas-specific coverage TSV files.timeseries (
listofstr) – List of paths to atlas-specific time series TSV files. These time series are produced from thecensored_denoised_boldoutputs.correlations (
listofstr) – List of paths to atlas-specific ROI-to-ROI correlation TSV files. These correlations are produced from thetimeseriesoutputs.correlations_exact (
listoflistofstr) – Exact-scan-wise list of lists of paths to atlas-specific ROI-to-ROI correlation TSV files. These correlations are produced from thetimeseriesoutputs and thetemporal_maskinput.parcellated_alff
parcellated_reho