Example #1
0
 def _test_log(self, level, decimal = DEF_DEC):
     Y   = gauss_den(self.X, self.mu, self.va, log = True)
     assert_array_almost_equal(N.exp(Y), self.Yt, decimal)
Example #2
0
 def _test(self, level, decimal = DEF_DEC):
     Y   = gauss_den(self.X, self.mu, self.va)
     assert_array_almost_equal(Y, self.Yt, decimal)