spectre.Visualization.PlotControlSystem

Functions

plot_control_system(reduction_files[, ...])

Plot diagnostic information regarding all control systems except size control.

spectre.Visualization.PlotControlSystem.plot_control_system(reduction_files: Sequence[str], with_shape: bool = True, show_all_m: bool = False, shape_l_max: int = 2, x_bounds: Sequence[float] | None = None, x_label: str | None = None, title: str | None = None)

Plot diagnostic information regarding all control systems except size control. If you want size control diagnostics use spectre plot size-control.

This tool assumes there are subfiles in each of the “reduction-files” with the path /ControlSystems/{Name}/*.dat, where {NAME} is the name of the control system and *.dat are all the components of that control system.

Shape control is a bit special because it has a large number of components. Control whether or not you plot shape, and how many of these components you plot, with the –with-shape/–without-shape, –shape-l_max, and –show-all-m options.