obspy.signal.freqattributes.log_cepstrum

log_cepstrum(data, fs, nc, p, n, w)[source]

Cepstrum of a signal.

Computes the cepstral coefficient on a logarithmic scale of the given data which can be windowed or not.

If data are windowed the analytic signal and the envelope of each window is returned.

Parameters
  • data (ndarray) – Data to make envelope of.

  • fs – Sampling frequency in Hz.

  • nc – number of cepstral coefficients.

  • p – Number of filters in filterbank.

  • n – Number of data windows.

Returns

Cepstral coefficients.