mne.time_frequency.read_spectrum#

mne.time_frequency.read_spectrum(fname)[source]#

Load a mne.time_frequency.Spectrum object from disk.

Parameters:
fnamepath-like

Path to a spectrum file in HDF5 format, which should end with .h5 or .hdf5.

Returns:
spectruminstance of Spectrum

The loaded Spectrum object.