sportran.md.resample¶
Functions
|
Simulate the resampling of a time series x. |
- sportran.md.resample.resample_timeseries(x, TSKIP=None, fstar_THz=None, FILTER_W=None, plot=False, PSD_FILTER_W=None, freq_units='THz', FIGSIZE=None, verbose=True)¶
Simulate the resampling of a time series x.
- Parameters
x = the time series object, a (subclass of) MDSample
TSKIP = sampling time [steps]
fstar_THz = target cutoff frequency [THz]
TSKIP and fstar_THZ are mutually exclusive.
FILTER_W = pre-sampling filter window width [steps]
plot = plot the PSD [False]
PSD_FILTER_W = PSD filtering window width [chosen frequency units]
freq_units = ‘thz’ [THz] – ‘red’ [omega*DT/(2*pi)]
FIGSIZE = plot figure size
verbose = print log [True]
- Returns
xf (a filtered & resampled time series object)
ax (an array of plot axes, optional (if plot=True))