mne.channels.Montage

class mne.channels.Montage(pos, ch_names, kind, selection)[source]

Montage for standard EEG electrode locations.

Warning

Montages should typically be loaded from a file using mne.channels.read_montage() instead of instantiating this class directly.

Parameters:

pos : array, shape (n_channels, 3)

The positions of the channels in 3d.

ch_names : list

The channel names.

kind : str

The type of montage (e.g. ‘standard_1005’).

selection : array of int

The indices of the selected channels in the montage file.

Notes

New in version 0.9.0.

Methods

__hash__() <==> hash(x)
plot([scale_factor, show_names, show]) Plot a montage.
__hash__() <==> hash(x)
plot(scale_factor=20, show_names=False, show=True)[source]

Plot a montage.

Parameters:

scale_factor : float

Determines the size of the points. Defaults to 20.

show_names : bool

Whether to show the channel names. Defaults to False.

show : bool

Show figure if True.

Returns:

fig : Instance of matplotlib.figure.Figure

The figure object.