This documentation is for development version 0.18.dev0.


mne.read_bem_surfaces(fname, patch_stats=False, s_id=None, verbose=None)[source]

Read the BEM surfaces from a FIF file.

fname : string

The name of the file containing the surfaces.

patch_stats : bool, optional (default False)

Calculate and add cortical patch statistics to the surfaces.

s_id : int | None

If int, only read and return the surface with the given s_id. An error will be raised if it doesn’t exist. If None, all surfaces are read and returned.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

surf: list | dict

A list of dictionaries that each contain a surface. If s_id is not None, only the requested surface will be returned.

Examples using mne.read_bem_surfaces