Repository navigation
Highlights
PySNF can now act as an ideal SNF-to-FF transform, one that adds no scaling of its own, and ships a companion module for G/T measurements.
New
- Gain normalization (opt-in).
wavecoeffs2farfield_uniformandnearfield2farfieldtakenormalization='gain'to return the absolute far-field pattern K instead of the dipole-probe signal (√6/4)·K.field2wavecoeffsandnearfield2farfieldtakeprobe_normalization='gain'to accept a gain-normalized probe pattern.- Both default to
'dipole', so existing scripts give the same results as in 1.1.0.
- G/T helpers (
pysnf_gt.py). A new companion module implementing the CW-Ambient technique:g_over_t: G/T of an active unit under test over the far-field sphere, from a complex receiver scan, the probe pattern, the power into the probe, the ambient and CW powers, and the noise bandwidth.near_zone_correction: the near-zone factor N_SNF that replaces (λd)² in the far-field G/T and Friis expressions.
Documentation
- New README sections: "Gain-normalized (ideal) transform" and "G/T measurements", each with a runnable example.
HANSEN_INDEX.mdnotes the effect ofnormalization='gain'.
Testing
python pysnf.pynow runs 27 checks (6 new), including the closed-form Hertzian-dipole case from the reference below, which must return exactly 1.76 dBi at any measurement distance.python pysnf_gt.pyruns 4 checks: closed-form dipole G/T, the full G/T pattern of the shipped WR-284 horn at kA = 100, the far-field limit of N_SNF, and input validation.
Compatibility
- No breaking changes. Default-keyword results are bit-for-bit identical to 1.1.0.
pysnf.pyremains usable on its own;pysnf_gt.pyis optional and importspysnf.
Notes
- The G/T self-tests are synthetic. They verify the scale factors, not the measurement assumptions of the CW-Ambient technique (UUT noise dominant, matched lines, stable ambient).
- For a y′-polarized probe the scan must follow PySNF's probe-roll convention; see the README. Nothing in the code checks this.
Reference
R. T. Cutshall, J. Dobbins and M. N. Barr, "Measuring G/T with a Spherical Near-Field Antenna Measurement System via the CW-Ambient Technique," 2020 Antenna Measurement Techniques Association Symposium (AMTA), Newport, RI, USA, 2020, pp. 1-6.