Skip to main content

Module portal_emf_state

Module portal_emf_state 

Source
Expand description

Bounded field ownership and GPU adoption/recovery state, testable natively. One accepted current field and exact immutable source, independent of GPU life.

Structs§

DisplayEmfCell
Plain CPU display derivative, not a scientific record or a GPU ABI.
DisplayOpticalCell
Explicit scientific-to-display optical/polarimetric/spectral derivative per cell. Static or unpolarized fields carry spectral_sigma == 0.0 and zero stokes_q/u/v.
DisplaySelection
LoadedEmf
RetainedEmf

Enums§

EmfBackend
EmfDisplayStatus

Constants§

MAX_DISPLAY_CELLS
VACUUM_IMPEDANCE_OHM
Vacuum wave impedance Z0 = mu_0 * c in Ohms.

Functions§

carrier_hz_to_spectral_sigma
Map a physical carrier frequency (Hz) to full-spectrum 6-band display sigma in [0.0, 6.0). Returns 0.0 when static or absent (carrier_hz <= 0.0).
decode_emf64_display
display_optical_to_gpu_cell
Convert paired scalar and optical/polarimetric display cells into GPU EmfFieldCell.
e_magnitude_from_poynting
Derive equivalent plane-wave electric-field magnitude V/m from irradiance I (W/m^2).
poynting_irradiance_w_per_m2
Compute physical Poynting irradiance W/m^2 from stored Poynting, E x B / mu_0, or |E|^2 / Z0.