def test_1000(self): val = soft.gaussian(self.vals[4], center=self.center, scale=0.5) self.assertAlmostEqual(val, 0)
def test_2p5(self): val = soft.gaussian(self.vals[3], center=self.center, scale=0.5) self.assertAlmostEqual(val, 0.1353352832366127)