mne.channels.
generate_2d_layout
(xy, w=0.07, h=0.05, pad=0.02, ch_names=None, ch_indices=None, name=’ecog’, bg_image=None, normalize=True)[source]¶Generate a custom 2D layout from xy points.
Generates a 2-D layout for plotting with plot_topo methods and functions. XY points will be normalized between 0 and 1, where normalization extremes will be either the min/max of xy, or the width/height of bg_image.
Parameters: | xy : ndarray (N x 2)
w : float
h : float
pad : float
ch_names : list
ch_indices : list
name : string
bg_image : str | ndarray
normalize : bool
|
---|---|
Returns: | layout : Layout
|
See also
Notes
New in version 0.9.0.