earthsciencekit.results#
Immutable sampled histories shared by the numerical models.
- class earthsciencekit.results.TimeSeries(time, values, names, units)[source]#
Bases:
objectA time grid in seconds and one or more state columns.
- Parameters:
time (
ndarray) – Finite, strictly increasing seconds; at least two samples.values (
ndarray) – Finite real state columns in the units given byunits.names (
tuple[str,...]) – Unique state names and explicit output unit labels.units (
tuple[str,...]) – Unique state names and explicit output unit labels.
Notes
Input data are copied and made read-only. Samples do not imply a continuous interpolation or independently validate the governing model.
- animate(*, interval=40)[source]#
Create a history-reveal animation; interval is milliseconds per frame.
- names: tuple[str, ...]#
- time: ndarray#
- units: tuple[str, ...]#
- values: ndarray#