def filt(self, x, coef): """Filter one sample using using ``lspdf`` Parameters ---------- x : float A input sample coef: array LSP (with loggain) Returns ------- y : float A filtered sample See Also -------- pysptk.sptk.lspdf """ return pysptk.lspdf(x, coef, self.delay)
def __test(length): pysptk.lspdf(0.0, np.ones(length), np.ones(1))