Open Issues Need Help
View All on GitHubAI Summary: The `NRWInvariantSParameterAdapter.py` module incorrectly handles the sign disambiguation for Gamma2 (eq. 2.54) in `calc_Gamma2`. Although Gamma3 (eq. 2.55) is computed, its result is not used to resolve the Gamma2 ambiguity, leading `calc_Gamma2` to always return the negative branch. The fix involves correctly selecting the Gamma3 root (where `|Gamma3| <= 1`) and then using it to determine the proper sign for Gamma2.
MatePy-RF, a Python toolkit for RF material characterization, providing multiple techniques to determine the permittivity and permeability of dielectric and magnetic materials from high-frequency S-parameters measurement data.
AI Summary: The current Nicolson–Ross–Weir (NRW) implementation in `MPLBase.py` fails to reliably select the correct phase branch `n` due to an unreliable group-delay estimation method. The existing fallback, which assumes non-magnetic materials (`μr=1`), works for dielectrics but breaks for magnetic samples. A robust solution is required to consistently determine `n` across frequencies for all material types, including magnetic and metamaterials, without making simplifying assumptions.
MatePy-RF, a Python toolkit for RF material characterization, providing multiple techniques to determine the permittivity and permeability of dielectric and magnetic materials from high-frequency S-parameters measurement data.