xcp_d.workflows.anatomical.init_postprocess_surfaces_wf

xcp_d.workflows.anatomical.init_postprocess_surfaces_wf(fmri_dir, subject_id, dcan_qc, process_surfaces, mesh_available, standard_space_mesh, morphometry_files, output_dir, t1w_available, t2w_available, mem_gb, omp_nthreads, name='postprocess_surfaces_wf')[source]

Postprocess surfaces.

Workflow Graph
../_images/xcp_d-workflows-anatomical-init_postprocess_surfaces_wf-1.png

(Source code, png, svg, pdf)

Parameters:
  • fmri_dir

  • subject_id

  • dcan_qc (bool) – This flag determines if DCAN-related QC steps will be taken. Enabling this flag will trigger the following steps:

    1. Brainsprite figures will be generated.

    2. The executive summary will be generated.

    3. DCAN QC files will be generated.

  • process_surfaces (bool)

  • mesh_available (bool)

  • standard_space_mesh (bool)

  • morphometry_files (list of str)

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

  • t1w_available (bool) – True if a T1w image is available.

  • t2w_available (bool) – True if a T2w image is available.

  • 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 “postprocess_surfaces_wf”.

Inputs:
  • t1w – Preprocessed T1w file. May be in native or standard space.

  • t2w – Preprocessed T2w file. May be in native or standard space.

  • anat_to_template_xfm (str) – Path to the T1w-to-MNI transform file. May be “identity”, for testing purposes.

  • template_to_anat_xfm (str) – Path to the MNI-to-T1w transform file. May be “identity”, for testing purposes.

  • lh_pial_surf, rh_pial_surf

  • lh_wm_surf, rh_wm_surf

  • sulcal_depth

  • sulcal_curv

  • cortical_thickness

  • cortical_thickness_corr

  • myelin

  • myelin_smoothed