xcp_d.workflows.plotting module

Workflows for generating plots from imaging data.

xcp_d.workflows.plotting.init_plot_custom_slices_wf(desc, name='plot_custom_slices_wf')[source]

Plot a custom selection of slices with Slicer.

This workflow is used to produce subcortical registration plots specifically for infant data.

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

(Source code, png, svg, pdf)

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

    As of version 0.7.0, ‘xcp_d’ will not be appended to the output directory.

  • desc (str) – String to be used as desc entity in output filename.

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

Inputs:
  • underlay_file

  • overlay_file

  • name_source

xcp_d.workflows.plotting.init_plot_overlay_wf(desc, name='plot_overlay_wf')[source]

Use the default slices from slicesdir to make a plot.