def filtt(self, x, coef): """Filter one sample using using ``poledft`` Parameters ---------- x : float A input sample coef: array LPC (with loggain) Returns ------- y : float A filtered sample See Also -------- pysptk.sptk.poledft """ return pysptk.poledf(x, coef, self.delay)
def filt(self, x, coef): """Filter one sample using using ``poledf`` Parameters ---------- x : float A input sample coef: array LPC (with loggain) Returns ------- y : float A filtered sample See Also -------- pysptk.sptk.poledf """ return pysptk.poledf(x, coef, self.delay)
def test_poledf_invalid_delay_length(): with pytest.raises(ValueError): pysptk.poledf(0.0, np.ones(10), np.ones(1))
def test_poledf_invalid_delay_length(): pysptk.poledf(0.0, np.ones(10), np.ones(1))