mne.io.write_info#

mne.io.write_info(fname, info, data_type=None, reset_range=True)[source]#

Write measurement info in fif file.

Parameters:
fnamepath-like

The name of the file. Should end by -info.fif.

infomne.Info

The mne.Info object with information about the sensors and methods of measurement.

data_typeint

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.