xcp_d.workflows.anatomical.plotting module

Workflows for generating plots from anatomical data.

xcp_d.workflows.anatomical.plotting.init_brainsprite_figures_wf(t1w_available, t2w_available, name='brainsprite_figures_wf')[source]

Create mosaic and PNG files for executive summary brainsprite.

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

(Source code, png, svg, pdf)

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

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

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

Inputs:
  • t1w – Path to T1w image. Optional. Should only be defined if t1w_available is True.

  • t2w – Path to T2w image. Optional. Should only be defined if t2w_available is True.

  • lh_wm_surf

  • rh_wm_surf

  • lh_pial_surf

  • rh_pial_surf

xcp_d.workflows.anatomical.plotting.init_execsummary_anatomical_plots_wf(t1w_available, t2w_available, name='execsummary_anatomical_plots_wf')[source]

Generate the anatomical figures for an executive summary.

Workflow Graph
../_images/xcp_d-workflows-anatomical-plotting-2.png

(Source code, png, svg, pdf)

Parameters:
  • t1w_available (bool) – Generally True.

  • t2w_available (bool) – Generally False.

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

Inputs:
  • t1w – T1w image, after warping to standard space.

  • t2w – T2w image, after warping to standard space.

  • template