alphacsc.utils.check_univariate_signal#

alphacsc.utils.check_univariate_signal(X)#

Return an array that can be used with alphacsc transformers for univariate signals.

Parameters
Xndarray, shape (n_times,) or (n_trials, n_times)

Signal to be reshaped. It should be a single signal.