make_meeg_layout#
- mvpy.dataset.make_meeg_layout(n_channels: int, backend: str = 'torch', device: str = 'cpu') ndarray | Tensor[source]#
Create a concentric channel layout for M-EEG sensors.
- Parameters:
- n_channelsint
Number of channels/sensors.
- backendstr, default=’torch’
Which backend to use (torch or numpy)?
- devicestr, default=’cpu’
Which device to use?
- Returns:
- layoutUnion[np.ndarray, torch.Tensor]
The sensor layout of shape (n_channels, n_directions) where n_directions corresponds to three, i.e. (x, y, z).