make_meeg_colours#
- mvpy.dataset.make_meeg_colours(ch_pos: ndarray | Tensor) ndarray | Tensor[source]#
Create spatial colours for sensor layout.
- Parameters:
- ch_posUnion[np.ndarray, torch.Tensor]
Channel positons of shape (n_channels, n_dims) where n_dims is (x, y, z).
- Returns:
- coloursUnion[np.ndarray, torch.Tensor]
The sensor colours of shape (n_channels, rgb).