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))
Esempio n. 3
0
 def test_plotPZ_2(self):
     """Test function for plotPZ() 2/2"""
     plt.figure()
     self.assertIsNone(plotPZ(((1, 0, .10), (1, .2, .01)), showlist=False))
Esempio n. 4
0
 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))
Esempio n. 5
0
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()
Esempio n. 6
0
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()