Const: Constants in intenal unit

  • Length: $h^{-1} \mathrm{Mpc}$
  • Velocity: $\mathrm{km}\, \mathrm{s}^{-1}$
  • Hubble constant: $100 \, \mathrm{km} \,\mathrm{s}^{-1}/(h^{-1} \mathrm{Mpc})$

In [1]:
import mockgallib as mock
const= mock.Const()
const


Out[1]:
Constants in internal unit:
  G          = 4.3007e-09
  rho_crit_0 = 2.7755e+11

In [4]:
print("%.4e" %const.G)
print("%.4e" % const.rho_crit_0)


4.3007e-09
2.7755e+11

In [ ]: