constants

Astropy cosmology constants.

Note that astropy constants have astropy units.

From the cosmology.api, the list of required constants is:

  • G: Gravitational constant G in pc km2 s-2 Msol-1.

  • c: Speed of light in km s-1.

Module Attributes

G

Gravitational constant G in pc km2 s-2 Msol-1.

c

Speed of light in km s-1.

G: Quantity = <Quantity 0.00430092 km2 pc / (solMass s2)>

Gravitational constant G in pc km2 s-2 Msol-1.

c: Quantity = <Quantity 299792.458 km / s>

Speed of light in km s-1.