mne.time_frequency.read_tfrs#

mne.time_frequency.read_tfrs(fname, condition=None, *, verbose=None)[source]#

Load a TFR object from disk.

Parameters:
fnamepath-like

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

conditionint or str | list of int or str | None

The condition to load. If None, all conditions will be returned. Defaults to None.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns:
tfrRawTFR | EpochsTFR | AverageTFR | list of RawTFR | list of EpochsTFR | list of AverageTFR

The loaded time-frequency object.

Notes

New in v0.9.0.