SeriesReader#
- class SeriesReader(*args, **kwargs)[source]#
Class for reading .series file supported by Paraview.
Added in version 0.47.0.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_file('vtu_series/wavy.zip')
>>> Path(filename[0]).name
'mesh.vtu.series'
>>> reader = pv.get_reader(filename[0])
>>> reader.time_values
[0.0, 1.0, 2.0, 3.0, ... 12.0, 13.0, 14.0]
>>> reader.set_active_time_point(5)
>>> reader.active_time_value
5.0
>>> mesh = reader.read()
>>> mesh.plot(scalars='z')
Methods#
|
Set active time or iteration by index. |
|
Set active time or iteration value. |
|
Value of time point or iteration by index. |
Attributes#
Return all active datasets. |
|
Return the active reader. |
|
Active time or iteration value. |
|
Return all datasets. |
|
Return number of time points or iterations available to read. |
|
All time or iteration values. |