xcp_d.workflows.anatomical.init_warp_surfaces_to_template_wf

xcp_d.workflows.anatomical.init_warp_surfaces_to_template_wf(fmri_dir, subject_id, output_dir, omp_nthreads, mem_gb, name='warp_surfaces_to_template_wf')[source]

Transform surfaces from native to standard fsLR-32k space.

Workflow Graph

(Source code)

Parameters:
  • fmri_dir (str) – Path to the preprocessed derivatives dataset. For example, “/path/to/dset/derivatives/fmriprep/”.

  • subject_id (str) – The participant ID. This SHOULD NOT include the sub- prefix.

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

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

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

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

Inputs:
  • anat_to_template_xfm (str) – Path to the T1w-to-MNI transform file. May be “identity”, for testing purposes. The template in question should match the volumetric space of the BOLD CIFTI files being processed by the main xcpd workflow. For example, MNI152NLin6Asym for fsLR-space CIFTIs.

  • template_to_anat_xfm (str) – Path to the MNI-to-T1w transform file. May be “identity”, for testing purposes. The template in question should match the volumetric space of the BOLD CIFTI files being processed by the main xcpd workflow. For example, MNI152NLin6Asym for fsLR-space CIFTIs.

  • lh_pial_surf, rh_pial_surf (str) – Left- and right-hemisphere pial surface files in fsnative space.

  • lh_wm_surf, rh_wm_surf (str) – Left- and right-hemisphere smoothed white matter surface files in fsnative space.

Outputs:
  • lh_pial_surf, rh_pial_surf (str) – Left- and right-hemisphere pial surface files, in standard space.

  • lh_wm_surf, rh_wm_surf (str) – Left- and right-hemisphere smoothed white matter surface files, in standard space.