mne.time_frequency.write_tfrs

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

Write a TFR dataset to hdf5.

Parameters
fnamestr

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

tfrAverageTFR | list of AverageTFR | EpochsTFR

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.

overwritebool

If True (default False), overwrite the destination file if it exists.

verbosebool | str | int | None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

See also

read_tfrs

Notes

New in version 0.9.0.