pyyeti.srs.lanroll¶
- pyyeti.srs.lanroll(sig, sr, ppc, frq)[source]¶
Increase sample rate using
pyyeti.dsp.resample()for the SRS routine.- Parameters:
sig (ndarray) – The signal(s), time-steps x n.
sr (scalar) – Sample rate.
ppc (scalar) – Minimum points per cycle.
frq (scalar) – Highest frequency of the SDOF system.
- Returns:
signew (ndarray) – The resampled version of sig that meets the ppc requirement.
srnew (scalar) – The new sample rate.
Notes
The pts parameter for the
pyyeti.dsp.resample()is set to 65. This was determined from trial and error and comparison to the FFT method.