This documentation is for development version 0.18.dev0.

mne.time_frequency.write_tfrs

mne.time_frequency.write_tfrs(fname, tfr, overwrite=False)[source]

Write a TFR dataset to hdf5.

Parameters:
fname : string

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

tfr : AverageTFR instance, or list of AverageTFR instances

The TFR dataset, or list of TFR datasets, to save in one file. Note. If .comment is not None, a name will be generated on the fly, based on the order in which the TFR objects are passed

overwrite : bool

If True, overwrite file (if it exists). Defaults to False.

See also

read_tfrs

Notes

New in version 0.9.0.