def test_mean_density(self): m200 = 1e15 c = 5.0 z = 0.3 nfw = NFW(m200, c, z) rho = nfw.mean_density(1.23) assert_almost_equal(rho.value / 1e13, 9.256897197704966)
def test_mean_density(self): m200 = 1e15 c = 5. z = 0.3 nfw = NFW(m200, c, z) rho = nfw.mean_density(1.23) assert_almost_equal(rho.value / 1e13, 9.257628230844219)
def test_mean_density(self): m200 = 1e15 c = 5. z = 0.3 nfw = NFW(m200, c, z) rho = nfw.mean_density(1.23) assert_almost_equal(rho.value / 1e13, 9.256897197704966)