oktoberfest.data.Spectra.from_hdf5

classmethod Spectra.from_hdf5(input_file)

Read from hdf5 file.

Parameters:

input_file (str | Path) – path to input file

Return type:

TypeVar(SpectraT, bound= Spectra)

Returns:

a spectra instance