tud_lbm.io.plotting.base
Abstract base class for plot operators.
Classes
Base class for a single-panel plotting operator. |
|
Base class for analysis plots computed from saved snapshot history. |
Module Contents
- class tud_lbm.io.plotting.base.PlotOperator(config: tud_lbm.config.SimulationConfig, data_dir: str | pathlib.Path | None = None)[source]
Bases:
abc.ABCBase class for a single-panel plotting operator.
- class tud_lbm.io.plotting.base.AnalysisPlot(config: tud_lbm.config.SimulationConfig | None = None)[source]
Bases:
abc.ABCBase class for analysis plots computed from saved snapshot history.
- abstractmethod compute(files: list[pathlib.Path]) dict[str, numpy.ndarray][source]
Compute time-series arrays from snapshot files.
- abstractmethod render(ax: matplotlib.axes.Axes, precomputed: dict[str, numpy.ndarray]) None[source]
Render the full analysis plot from precomputed arrays.
- update(ax: matplotlib.axes.Axes, files: list[pathlib.Path]) None[source]
Render analysis for a prefix of snapshot files (animation-friendly).