braindecode.preprocessing.zscore

braindecode.preprocessing.zscore(data)

DEPRECATED: will be removed in 0.7.0. Use sklearn.preprocessing.scale instead.

Zscore normalize continuous or windowed data in-place.

Parameters
data: np.ndarray (n_channels, n_times) or (n_windows, n_channels, n_times)

continuous or windowed signal

Returns
zscored: np.ndarray (n_channels x n_times) or (n_windows x n_channels x
n_times)

normalized continuous or windowed data

..note:

If this function is supposed to preprocess continuous data, it should be given to raw.apply_function().