mne.write_cov#

mne.write_cov(fname, cov, *, overwrite=False, verbose=None)[source]#

Write a noise covariance matrix.

Parameters
fnamestr

The name of the file. It should end with -cov.fif or -cov.fif.gz.

covCovariance

The noise covariance matrix.

overwritebool

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

New in version 1.0.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

See also

read_cov

Examples using mne.write_cov#

Computing a covariance matrix

Computing a covariance matrix

Computing a covariance matrix