resampling#

spidet.preprocess.resampling.resample_data(data: array, channel_names: List[str], sfreq: int, resampling_freq: int) array[source]#

Resamples the data with the desired frequency.

Parameters:
sfreqfloat

Original frequency of the data.

channel_nameslist of str

Labels of the channels.

dataarray-like

Data to be resampled.

resampling_freqfloat

Target resampling frequency.

Returns:
array-like

Resampled data.