Repository navigation
v0.5.1 - PamArrayAntenna binds to phased-array-modeling
Fixed: the phased-array-modeling integration never bound
PamArrayAntenna imported pam, a module name phased-array-modeling has never exported (its import name is phased_array), so the integration could never activate. The availability flag was also never read after being set, so even a successful import would not have changed a number: gain_dbi always returned peak gain at every angle.
The wrapper now has two documented beam modes:
steering=None(default): a tracking beam that follows the evaluated direction and returns peak gain, which is what the link engine's snapshot semantics assume. Isotropic elements; scan-dependent terminal losses are not modeled.steering=(theta0_deg, phi0_deg): a fixed beam. Angles are directions in the array frame and gain follows the real array factor of the tapered, steered lattice, computed by phased-array-modeling (pip install "opensatcom[pam]").
Tapers (taylor, chebyshev, hamming, hanning, cosine) are synthesized and peak gain is reduced by taper efficiency. The golden hello-world link budget changes: it requests a Taylor -28 taper whose efficiency was silently ignored, so EIRP moves from 50.06 to 48.89 dBW and margin follows by the same 1.18 dB.
Binding tests now run in CI (which installs the pam extra) and assert behavior the fallback cannot produce, so this class of silent fallback cannot return.
Also: mypy target 3.12 for current numpy stubs; CITATION.cff, README BibTeX and __version__ synced (they were stale at 0.4.0 / 2025).