pyyeti.srs.linroll

pyyeti.srs.linroll(sig, sr, ppc, frq)[source]

Increase sample rate using linear interpolation for srs().

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

Note that linear interpolation is not recommended for increasing sample rate.