def test_util_lwidth_getset(): g1 = Voigt(legacy=False) g1.lwidth = 3.0 assert_allclose(g1.lwidth, 3.0)
def test_util_lwidth_set(): g1 = Voigt(legacy=False) g1.lwidth = 3.0 assert_allclose(g1.lwidth / 2, g1.gamma.value)