def test_plotPZ_2(self): """Test function for plotPZ() 2/2""" plt.figure() self.assertIsNone(plotPZ(((1, 0, .10), (1, .2, .01)), showlist=False))
def test_plotPZ_1(self): """Test function for plotPZ() 1/2""" plt.figure() self.assertIsNone(plotPZ(((1, .2), (1, 0, .10)), color=('r', 'b'), showlist=True))
def test_plotPZ_1(self): """Test function for plotPZ() 1/2""" plt.figure() self.assertIsNone( plotPZ(((1, .2), (1, 0, .10)), color=('r', 'b'), showlist=True))
import pylab as plt from deltasigma import synthesizeNTF, plotPZ order = 5 osr = 32 f0 = 0. Hinf = 1.5 ntf = synthesizeNTF(order, osr, 2, Hinf, f0) plt.figure(figsize=(8, 6)) plotPZ(ntf, color=('r', 'b'), showlist=True) plt.title("NTF singularities") plt.show()