Пример #1
0
 def test_noisecg(self):
     """Test Gaussian white noise generation."""
     x = noise.noisecg(128)
     self.assertAlmostEqual(x.std()**2, 1, places=1)
Пример #2
0
 def test_noisecg(self):
     x = noise.noisecg(128)
     self.assertAlmostEqual(x.std() ** 2, 1, places=1)
Пример #3
0
 def test_noisecg(self):
     """Test Gaussian white noise generation."""
     x = noise.noisecg(128)
     self.assertAlmostEqual(x.std() ** 2, 1, places=1)
Пример #4
0
 def test_noisecg(self):
     x = noise.noisecg(128)
     self.assertAlmostEqual(x.std()**2, 1, places=1)