xcp_d.workflows.connectivity.init_load_atlases_wf

xcp_d.workflows.connectivity.init_load_atlases_wf(output_dir, cifti, mem_gb, omp_nthreads, name='load_atlases_wf')[source]

Load atlases and warp them to the same space as the BOLD file.

Workflow Graph
../_images/xcp_d-workflows-connectivity-init_load_atlases_wf-1.png

(Source code, png, svg, pdf)

Parameters:
  • output_dir (str) – Path to the output directory for xcp_d derivatives. This should not include the xcp_d folder. For example, “/path/to/dset/derivatives/”.

  • cifti (bool) – Post-process surface data (CIFTIs) instead of volumetric data (NIFTIs). This parameter is overridden when DCAN- or HCP-format data are provided. Default is False.

  • mem_gb (float) – Memory limit, in gigabytes.

  • omp_nthreads (int) – Maximum number of threads an individual process may use.

  • name (str, optional) – Name of the workflow. This is used for working directories and workflow graphs. Default is “load_atlases_wf”.

Inputs:
  • name_source (str) – Path to the file that will be used as the source_file for 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).

  • bold_file

Outputs:
  • atlas_names

  • atlas_files

  • atlas_labels_files

  • parcellated_atlas_files