spectre.Visualization.PlotCce

Functions

plot_cce(h5_filename, modes[, real, imag, ...])

Plot the Strain, News, and Psi0-Psi4 from the output of a SpECTRE CCE run.

spectre.Visualization.PlotCce.plot_cce(h5_filename: str, modes: Sequence[str], real: bool = False, imag: bool = False, extraction_radius: int | None = None, list_extraction_radii: bool = False, backward_cce_group: str | None = None, x_bounds: Sequence[float] | None = None, x_label: str | None = None, title: str | None = None, fig: Figure | None = None)

Plot the Strain, News, and Psi0-Psi4 from the output of a SpECTRE CCE run.

The data must be in a SpECTRE Cce subfile with a ‘.cce’ extension. Multiple modes can be plotted at once along with your choice of plotting both real, imaginary, or both.

IMPORTANT: These plots are NOT in the correct BMS frame. This tool is only meant to plot the raw data produced by the SpECTRE CCE module.