Skip to main content

Module flrw

Module flrw 

Source
Expand description

FLRW cosmological metric, scale factor, redshift, and comoving intercept solver (OCS §1.2, OCS-12).

Implements the Friedmann-Lemaître-Robertson-Walker metric for intergalactic cosmological distances, Hubble expansion, cosmological redshift, and comoving intercept trajectory estimation with explicit horizon failure states.

Reference: OCS Specification v2.2.0 §1.2 & Playbook v4 Packet OCS-12.

Structs§

ComovingInterceptSolution
Explicit comoving intercept solution with stated cosmological epoch and trajectory assumptions (OCS-12).
FloatingOrigin
Floating-origin precision for intergalactic coordinates (OCS §14, OCS-T01).
FlrwMetric
FLRW metric parameters (OCS §1.2).
RedshiftObservation
A cosmological redshift observation (OCS §1.2).

Enums§

Curvature
Curvature parameter k: -1 (open), 0 (flat), +1 (closed).
FlrwInterceptError
Failure states for cosmological comoving intercept calculation (Packet OCS-12).

Constants§

MPC_IN_METERS
1 Megaparsec in meters.

Functions§

intercept_vector_comoving
Top-level helper for FlrwMetric::intercept_vector_comoving (Packet OCS-12).
observe_redshift
Compute a redshift observation from a measured redshift value.