optic.dsp.core.clockSamplingInterp

clockSamplingInterp(x, inFs, outFs, jitter=0)

Interpolate signal to a given sampling rate.

Parameters:
  • x (np.array) – Input signal.

  • inFs (float) – Sampling frequency of the input signal.

  • outFs (float) – Sampling frequency of the output signal.

  • jitter (float) – Standard deviation of the time jitter (jitter rms). Default is 0.

Returns:

y – Resampled signal.

Return type:

np.array