pyeeg.vizu.get_spatial_colors

pyeeg.vizu.get_spatial_colors(info)

Create a set of colours given the channel locations of a raw MNE object.

Parameters:

info (mne.Info instance) – Info object containing the channel locations (info['chs']).

Returns:

colors – Normalized RGB colors, one per channel, sorted by the spatial coordinates (x, y, z) of the channels.

Return type:

ndarray (n_channels, 3)