alphacsc.utils.signal.check_multivariate_signal#
- alphacsc.utils.signal.check_multivariate_signal(X)#
Return an array that can be used with alphacsc transformers for multivariate signals.
- Parameters:
- Xndarray, shape (n_channels, n_times) or (n_trials, n_channels, n_times)
Signal to be reshaped. It should be a single signal.
- Returns:
- X: ndarray, shape (n_trials, n_channels, n_times)
The signal with the correct number of dimensions to be use with alphacsc transformers.