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