Class Cosmology
java.lang.Object
org.episteme.natural.physics.astronomy.astrophysics.Cosmology
Cosmology calculations.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RealAge of universe (seconds)static final RealSpeed of light (km/s)static final RealHubble constant (km/s/Mpc) - Planck 2018static final Realstatic final RealPresent density parameters (Planck 2018)static final Realstatic final RealCritical density (kg/m³) for H0 = 67.4 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealangularDiameterDistance(Real z, Real comovingDistance) Angular diameter distance. d_A = d_c / (1+z)static RealCosmic microwave background temperature at redshift z.static RealcomovingDistance(Real z, Real H0, Real omegaM, Real omegaLambda) Comoving distance (simplified integral for ΛCDM).static RealdarkEnergyDensity(Real z, Real w) Dark energy equation of state parameter.static RealdecelerationParameter(Real omegaM, Real omegaLambda) Deceleration parameter at present. q0 = Ωm/2 - ΩΛstatic RealfriedmannE(Real z, Real omegaM, Real omegaLambda, Real omegaR) Friedmann equation: H²/H0² = E²(z)static RealhubbleDistance(Real z, Real H0) Hubble distance from redshift (low-z approximation). d = cz / H0static RealhubbleTime(Real H0) Hubble time (age of universe if expansion were constant).static ReallookbackTime(Real z, Real H0) Lookback time (simplified, matter-dominated).static RealluminosityDistance(Real z, Real comovingDistance) Luminosity distance. d_L = (1+z) * d_cstatic RealrecessionVelocity(Real distanceMpc, Real H0) Hubble's law: recession velocity. v = H0 * dstatic RealScale factor to redshift. z = 1/a - 1static RealscaleFactor(Real z) Cosmological redshift to scale factor. a = 1/(1+z)
-
Field Details
-
C_KM_S
Speed of light (km/s) -
H0_PLANCK
Hubble constant (km/s/Mpc) - Planck 2018 -
RHO_CRIT
Critical density (kg/m³) for H0 = 67.4 -
AGE_UNIVERSE
Age of universe (seconds) -
OMEGA_M
Present density parameters (Planck 2018) -
OMEGA_LAMBDA
-
OMEGA_R
-
-
Constructor Details
-
Cosmology
public Cosmology()
-
-
Method Details
-
recessionVelocity
-
hubbleDistance
-
hubbleTime
-
scaleFactor
-
redshiftFromScaleFactor
-
lookbackTime
-
comovingDistance
-
luminosityDistance
-
angularDiameterDistance
-
cmbTemperature
-
darkEnergyDensity
-
friedmannE
-
decelerationParameter
-