def test_ceemdan_noiseKind_unknown(self): ceemdan = CEEMDAN() ceemdan.noise_kind = "bernoulli" with self.assertRaises(ValueError): ceemdan.generate_noise(1., 100)
def test_ceemdan_noiseKind_uniform(): ceemdan = CEEMDAN() ceemdan.noise_kind = "uniform" ceemdan.generate_noise(1., 100)
def test_ceemdan_noiseKind_uniform(self): ceemdan = CEEMDAN() ceemdan.noise_kind = "uniform" ceemdan.generate_noise(1., 100)