Skip to content

PySNF v1.2.0

Latest

Choose a tag to compare

@cuttyusa66 cuttyusa66 released this 10 Nov 21:28
· 4 commits to trunk since this release
3d3431e

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_uniform and nearfield2farfield take normalization='gain' to return the absolute far-field pattern K instead of the dipole-probe signal (√6/4)·K.
    • field2wavecoeffs and nearfield2farfield take probe_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.md notes the effect of normalization='gain'.

Testing

  • python pysnf.py now 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.py runs 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.py remains usable on its own; pysnf_gt.py is optional and imports pysnf.

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.