optic.dsp.core.resample

resample(Ei, param)

Resample signal to a desired sampling rate.

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

  • param (optic.utils.parameters object, optional) –

    Parameters of the resampling process.

    • param.inFs : sampling rate of the input signal [default: 2].

    • param.outFs : sampling rate of the output signal [default: 2].

    • param.N : order of anti-aliasing filter [default: 501].

Returns:

Eo – Resampled signal.

Return type:

np.array

References

[1] P. S. R. Diniz, E. A. B. da Silva, e S. L. Netto, Digital Signal Processing: System Analysis and Design. Cambridge University Press, 2010.