treams.io.load_hdf5

treams.io.load_hdf5(filename, lunit='nm')

Load a T-matrix stored in a HDF4 file.

Parameters:
  • filename (str or h5py.Group) – Name of the h5py file or a handle to a h5py group.

  • lunit (str, optional) – Unit of length to be used in the T-matrices.

Returns:

np.ndarray[TMatrix]