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

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.