Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)