mne.time_frequency.write_tfrs#
- mne.time_frequency.write_tfrs(fname, tfr, overwrite=False, *, verbose=None)[source]#
Write a TFR dataset to hdf5.
- Parameters:
- fnamepath-like
The file name, which should end with
-tfr.h5
.- tfr
RawTFR
|EpochsTFR
|AverageTFR
|list
ofRawTFR
|list
ofEpochsTFR
|list
ofAverageTFR
The (list of) TFR object(s) to save in one file. If
tfr.comment
isNone
, a sequential numeric string name will be generated on the fly, based on the order in which the TFR objects are passed. This can be used to selectively load single TFR objects from the file later.- overwritebool
If True (default False), overwrite the destination file if it exists.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
See also
Notes
New in v0.9.0.