mne.io.write_info#
- mne.io.write_info(fname, info, *, data_type=None, reset_range=True, overwrite=False, verbose=None)[source]#
Write measurement info in fif file.
- Parameters:
- fnamepath-like
The name of the file. Should end by
-info.fif
.- info
mne.Info
The
mne.Info
object with information about the sensors and methods of measurement.- data_type
int
The data_type in case it is necessary. Should be 4 (FIFFT_FLOAT), 5 (FIFFT_DOUBLE), or 16 (FIFFT_DAU_PACK16) for raw data.
- reset_rangebool
If True, info[‘chs’][k][‘range’] will be set to unity.
- 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.