rescaling#
- spidet.preprocess.rescaling.rescale_data(data_to_be_scaled: array, original_data: array, sfreq: int) array[source]#
Rescales the bandpass filtered data with respect to the original data matrix.
- Parameters:
- data_to_be_scalednumpy.array
Data to be scaled.
- original_datanumpy.array
Original data.
- sfreqfloat
Sampling frequency of the channels in the original data.
- Returns:
- array-like
Scaled version of the filtered data.