Exemplo n.º 1
0
 def test_ceemdan_noiseKind_unknown(self):
     ceemdan = CEEMDAN()
     ceemdan.noise_kind = "bernoulli"
     with self.assertRaises(ValueError):
         ceemdan.generate_noise(1., 100)
Exemplo n.º 2
0
 def test_ceemdan_noiseKind_uniform():
     ceemdan = CEEMDAN()
     ceemdan.noise_kind = "uniform"
     ceemdan.generate_noise(1., 100)
Exemplo n.º 3
0
 def test_ceemdan_noiseKind_uniform(self):
     ceemdan = CEEMDAN()
     ceemdan.noise_kind = "uniform"
     ceemdan.generate_noise(1., 100)
Exemplo n.º 4
0
 def test_ceemdan_noiseKind_unknown(self):
     ceemdan = CEEMDAN()
     ceemdan.noise_kind = "bernoulli"
     with self.assertRaises(ValueError):
         ceemdan.generate_noise(1., 100)