mne.time_frequency.read_tfrs#

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

Read TFR datasets from hdf5 file.

Parameters
fnamestr

The file name, which should end with -tfr.h5 .

conditionint or str | list of int or str | None

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

Returns
tfrAverageTFR | list of AverageTFR | EpochsTFR

Depending on condition either the TFR object or a list of multiple TFR objects.

See also

write_tfrs

Notes

New in version 0.9.0.