braindecode.datautil.zscore¶
-
braindecode.datautil.
zscore
(data)¶ 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().