pysptk.sptk.cdist

pysptk.sptk.cdist(c1, c2, otype=0, frame=False)[source]

Calculation of cepstral distance

Parameters
c1array

Minimum-phase cepstrum

c2array

Minimum-phase cepstrum

otypeint
Output data type
  1. [db]

  2. squared error

  3. root squared error

Default is 0.

framebool

If True, returns frame-wise distance, otherwise returns mean distance. Default is False.

Returns
distance