mne.time_frequency.read_tfrs#

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

Read TFR datasets from hdf5 file.

Parameters:
fnamepath-like

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.

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:
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 v0.9.0.