mne.
write_bem_surfaces
Write BEM surfaces to a fiff file.
fname : str
Filename to write.
surfs : dict | list of dict
The surfaces, or a single surface.