model_from_h5

Contents

model_from_h5#

scarlet2.io.model_from_h5(filename, id=0, path='.')[source]#

Load scene model from a HDF5 file

Parameters:
  • filename (str) – Name of the HDF5 file to load from

  • id (int) – HDF5 group to identify the scene by

  • path (str, optional) – Explicit path for filename. If not set, uses local directory

Return type:

Scene