resample#

class processing.resample.Resampler(sfreq: float, resample_freq_hz: float)[source]#

Resample data.

Parameters:

sfreq (float) – Original sampling frequency.

up#

Factor to upsample by.

Type:

float

process(data: ndarray) ndarray[source]#

Resample raw data using mne.filter.resample.

Parameters:

data (np.ndarray) – Data to resample

Returns:

Resampled data

Return type:

np.ndarray