Skip to main content

time_point_value()

Returns the time value for a time step when the reader is time-aware.

If the current reader is not time-aware, this returns None.

Parameters
  • time_point (int) — Zero-based time step index. Negative indices follow Python indexing.
Returns
  • float | None

Example

from pyemsi import Plotter

p = Plotter("path/to/output.pvd")
last_time = p.time_point_value(-1)