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