

def test_synthesizeChebyshevNTF_1(self):
    'Test function for synthesizeChebyshevNTF() 1/3'
    (z, p, k) = ds.synthesizeChebyshevNTF()
    zref = [1.0, (0.9991 + 0.0425j), (0.9991 - 0.0425j)]
    pref = [0.6609, (0.7686 + 0.2858j), (0.7686 - 0.2858j)]
    kref = 1.0
    self.assertTrue(np.allclose(cplxpair(z), cplxpair(zref), atol=0.0001, rtol=0.0001))
    self.assertTrue(np.allclose(cplxpair(p), cplxpair(pref), atol=0.0001, rtol=0.0001))
    self.assertTrue(np.allclose(k, kref, atol=0.0001, rtol=0.0001))

dataset/ETHPy150Open ggventurini/python-deltasigma/deltasigma/tests/test_synthesizeChebyshevNTF.py TestSynthesizeChebyshevNTF.test_synthesizeChebyshevNTF_1/original