pysptk.sptk.ndps2c

pysptk.sptk.ndps2c(ndps, order=25)[source]

Cepstrum to Negative Derivative of Phase Spectrum (NDPS)

Parameters:
ndps : array, shape (fftlen // 2 + 1)

NDPS

order : int, optional

Order of cepstrum. Default is 25.

Returns:
c : array, shape (order + 1)

Cepstrum

Raises:
ValueError

if non power of 2 fftlen is detected