mne.write_bem_solution#

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

Write a BEM model with solution.

Parameters:
fnamestr

The filename to use. Can end with .h5 to write using HDF5.

beminstance of ConductorModel

The BEM model with solution to save.

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 and mne.verbose() for details. Should only be passed as a keyword argument.