sportran.md.tools.resample

Functions

filter_and_sample(y_big, W, DT[, window, ...])

Filter signal with moving average window of width W and then sample it with time step DT.

resample_psd(freqs, psd, cutfrequency)

sportran.md.tools.resample.filter_and_sample(y_big, W, DT, window='rectangular', even_NSTEPS=True, detrend=False, drop_first=True)

Filter signal with moving average window of width W and then sample it with time step DT.

sportran.md.tools.resample.resample_psd(freqs, psd, cutfrequency)