mne.make_sphere_model

mne.make_sphere_model(r0=(0.0, 0.0, 0.04), head_radius=0.09, info=None, relative_radii=(0.9, 0.92, 0.97, 1.0), sigmas=(0.33, 1.0, 0.004, 0.33), verbose=None)[source]

Create a spherical model for forward solution calculation.

Parameters
r0array_like | str

Head center to use (in head coordinates). If ‘auto’, the head center will be calculated from the digitization points in info.

head_radiusfloat | str | None

If float, compute spherical shells for EEG using the given radius. If ‘auto’, estimate an appropriate radius from the dig points in Info, If None, exclude shells (single layer sphere model).

infoinstance of Info | None

Measurement info. Only needed if r0 or head_radius are 'auto'.

relative_radiiarray_like

Relative radii for the spherical shells.

sigmasarray_like

Sigma values for the spherical shells.

verbosebool, str, int, or 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.

Returns
sphereinstance of ConductorModel

The resulting spherical conductor model.

Notes

The default model has:

relative_radii = (0.90, 0.92, 0.97, 1.0)
sigmas = (0.33, 1.0, 0.004, 0.33)

These correspond to compartments (with relative radii in m and conductivities σ in S/m) for the brain, CSF, skull, and scalp, respectively.

New in version 0.9.0.

Examples using mne.make_sphere_model