This documentation is for development version 0.18.dev0.

mne.time_frequency.read_tfrs

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

Read TFR datasets from hdf5 file.

Parameters:
fname : string

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

condition : int or str | list of int or str | None

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

Returns:
tfrs : list of instances of AverageTFR | instance of AverageTFR

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.