Constants#

Physical layer constants and parameters for 5G NR.

Overview#

The Constants module provides:

  • Physical Layer Constants - Standard 5G NR parameters

API Reference#

Centralized constants for the RAN project.

Exposes values intended to be shared across modules to keep behavior consistent and configurable from a single place.

ran.constants.constants.LLR_CLAMP_ABS: float = 10000.0#

Saturation clamp for log-likelihood ratios (matches cuPHY behavior).

ran.constants.constants.SC_PER_PRB: int = 12#

Number of subcarriers per Physical Resource Block (PRB) in 5G NR.

ran.constants.constants.N_SYM_PER_SLOT: int = 14#

Number of OFDM symbols per slot in 5G NR (14 for normal cyclic prefix).