Skip to main content

Module rf

Module rf 

Source
Expand description

RF link-budget primitives.

Pure physics with no system-specific assumptions: free-space path loss, EIRP, carrier-to-noise-density ratio, link margin, wavelength, and parabolic dish gain. Callers combine these with geometry outputs (slant range, elevation) to build a complete link budget for a specific system. The sidereon Elixir binding is a thin marshaling layer; no formula lives there.

Structs§

LinkBudget
Inputs to link_margin, mirroring the self-documenting Elixir map.

Enums§

RfError
Error returned by RF link-budget helpers.

Functions§

cn0
Carrier-to-noise-density ratio (C/N0) in dB-Hz: C/N0 = EIRP + G/T - FSPL + 228.6 - other_losses.
dish_gain
Parabolic-dish antenna gain in dBi: G = 10*log10(eta * (pi*D/lambda)^2).
eirp
Effective isotropic radiated power in dBW: EIRP = P_tx(dBm) + G_tx(dBi) - 30.
fspl
Free-space path loss in dB for a slant range in km and frequency in MHz: FSPL = 32.45 + 20*log10(f_MHz) + 20*log10(d_km).
fspl_batch
Batch free-space path loss wrapper.
link_margin
Link margin in dB: the achieved C/N0 minus the required C/N0. Positive means the link closes.
link_margin_batch
Batch link-margin wrapper.
wavelength
Wavelength in metres for a frequency in Hz.