tud_lbm.io.plotting.overview_simulation_inc_snapshots

Composite figure: ca_theta_vs_x with density/velocity snapshots at chosen timesteps.

Classes

SnapshotOverviewPlot

ca_theta_vs_x plot with lettered density/velocity snapshots alongside it.

Module Contents

class tud_lbm.io.plotting.overview_simulation_inc_snapshots.SnapshotOverviewPlot(config: tud_lbm.config.SimulationConfig | None = None)[source]

Bases: tud_lbm.io.plotting.base.AnalysisPlot

ca_theta_vs_x plot with lettered density/velocity snapshots alongside it.

name = 'snapshot_fig'[source]
required_keys = ('ca_left', 'ca_right', 'cll_left', 'cll_right')[source]
is_multi_panel = True[source]
timesteps: list[int] = [][source]
compute(files: list[pathlib.Path]) dict[str, numpy.ndarray][source]

Unused: this operator builds its figure via render_figure instead.

render(ax: matplotlib.axes.Axes, precomputed: dict[str, numpy.ndarray]) None[source]

Render a placeholder; this operator is only meaningful via render_figure().

render_figure(files: list[pathlib.Path]) matplotlib.figure.Figure[source]

Build the ca_theta_vs_x plot with lettered density/velocity snapshots.