fedoo.MultiFrameDataSet.load
- MultiFrameDataSet.load(data=-1, load_mesh=False)
Load data from a data object.
This method replace the current data with new data. The old data are erased.
- Parameters:
data (dict or DataSet or pyvista.UnstructuredGrid or str) –
Input data to load.
- dict :
Load data using the
load_dictmethod.
- DataSet :
Load data from another
DataSetobject without copying.
- pyvista.UnstructuredGrid :
Load data from a PyVista
UnstructuredGridobject without copy.
- str :
Path to a data file. Supported file extensions are
'vtk','msh','fdz', and'npz'.
load_mesh (bool, optional) – If
True, the mesh is loaded from the file (when the file contains a mesh). IfFalse, only the data are loaded. Default isFalse.iteration (int, optional) – Iteration index to load when
datarefers to anfdzfile.