pyyeti.srs.preroll

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

Apply pre-filter to account for attenuation due to insufficient sample rate.

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 filtered version of sig.

  • srnew (scalar) – The new sample rate (unchanged from input).

Notes

The approach is scale the time-domain signal such that the roll-off is compensated for [1].

References