Methods
# static exports.getAngularSizeDistance(H0, omegaMat, omegaVac, z) → {MegaParsec}
Angular size distance
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
# static exports.getAngularSizeScale(H0, omegaMat, omegaVac, z) → {number}
Angular size scale
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
Megaparsec / arcsecond
number
# static exports.getComovingRadialDistance(H0, omegaMat, omegaVac, z) → {MegaParsec}
Comoving radial distance
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
# static exports.getComovingVolume(omegaK, DCMR) → {GigaParsec3}
Comoving volume
Parameters:
Name | Type | Description |
---|---|---|
omegaK |
number
|
Omega Curvature (= 1 - Omega Total) |
DCMR |
number
|
# static exports.getComovingVolumeWithinRedshift(H0, omegaMat, omegaVac, z) → {GigaParsec3}
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
# static exports.getLightTravelTime(H0, omegaMat, omegaVac, z) → {GYr}
The light travel time
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
# static exports.getLuminosityDistance(H0, omegaMat, omegaVac, z) → {MegaParsec}
Luminosity distance
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
# static exports.getOmegaK(H0, omegaMat, omegaVac) → {number}
Omega K (curvature) = 1-Omega(total)
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega M (matter) |
omegaVac |
number
|
Omega Vac (vacuum) |
number
# static exports.getOmegaR(H0) → {number}
Omega R (radiation), the ratio of the density of the Universe to the critical density.
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
number
# static exports.getTangentialComovingDistance(H0, omegaMat, omegaVac, z) → {number}
Tangential comoving distance
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |
number
# static exports.getUniverseAge(H0, omegaMat, omegaVac) → {GYr}
The age of the universe
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
|
omegaVac |
number
|
# static exports.getUniverseAgeAtRedshift(H0, omegaMat, omegaVac, z) → {GYr}
The age of the universe at a given redshift
Parameters:
Name | Type | Description |
---|---|---|
H0 |
KilometerPerSecondPerMegaParsec
|
The Hubble constant |
omegaMat |
number
|
Omega Matter |
omegaVac |
number
|
Omega Vacuum |
z |
number
|
The redshift |