xcp_d.workflows.connectivity.init_parcellate_surfaces_wf

xcp_d.workflows.connectivity.init_parcellate_surfaces_wf(output_dir, files_to_parcellate, min_coverage, mem_gb, omp_nthreads, name='parcellate_surfaces_wf')[source]

Parcellate surface files and write them out to the output directory.

Workflow Graph
../_images/xcp_d-workflows-connectivity-init_parcellate_surfaces_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/”.

  • files_to_parcellate (list of str) – List of surface file types to parcellate (e.g., “sulcal_depth”, “sulcal_curv”, “cortical_thickness”).

  • min_coverage (float) – Coverage threshold to apply to parcels in each atlas. Any parcels with lower coverage than the threshold will be replaced with NaNs. Must be a value between zero and one. Default is 0.5.

  • 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.

Inputs:
  • sulcal_depth

  • sulcal_curv

  • cortical_thickness

  • cortical_thickness_corr

  • myelin

  • myelin_smoothed