fedoo.DataSet.load

DataSet.load(data: object, load_mesh: bool = False, iteration: int = 0)

Load data from a data object. The old data are erased.

Parameters:
  • data

  • dict (* if type(data) is) – load data using the load_dict method

  • DataSet (* if type(data) is) – load data from another DataSet object without copy

  • pyvista.UnstructuredGrid (* if type(data) is) – load data from a pyvista UnstructuredGrid object without copy

  • str (* if type(data) is) – load data from a file. Available extention are ‘vtk’, ‘msh’, ‘fdz’, ‘npz’

  • load_mesh (bool (default = False)) – If True, the mesh is loaded from the file (if the file contans a mesh). If False, only the data are loaded.

  • iteration (int) – iteration loaded if data is a fdz object.