braindecode.preprocessing.scale¶
- braindecode.preprocessing.scale(data, factor)¶
DEPRECATED: will be removed in 0.7.0. Use numpy.multiply instead.
Scale continuous or windowed data in-place
- Parameters
- data: np.ndarray (n_channels x n_times) or (n_windows x n_channels x
- n_times)
continuous or windowed signal
- factor: float
multiplication factor
- Returns
- scaled: 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().