Skip to content

rf 0.1.1

Latest

Choose a tag to compare

@dracid dracid released this 26 Jul 06:55

rf 0.1.1

Bug-fix release. All users of cascadesparams, deembedsparams, embedsparams, or sparameters(s_obj, z0_new) should update.

Bug fixes

  • Struct returns now carry the complete sparameters object surface (Parameters, Frequencies, Impedance, NumPorts). Previously cascadesparams/deembedsparams/embedsparams returned only the first two fields, which broke MATLAB-written code reading .NumPorts on a cascade result (e.g. IEEE P370 IEEEP370Zc2xThru.m). Fixes #2.
  • Reference impedance is validated and propagated. Cascading or de-embedding structs referenced to different impedances now raises an error instead of silently producing a mislabeled (and mathematically invalid) result, matching MATLAB RF Toolbox behavior. The common reference propagates to the output.
  • sparameters(s_obj, z0_new) renormalizes from the stored .Impedance instead of a hardcoded 50 ohm. Chained renormalizations (50 -> 75 -> 60) now equal the direct path to machine precision.

New

  • ifft shim accepting MATLAB's ifft(x, 'symmetric') flag.

Verification

  • Seven new BIST regression tests; full BIST 114/114 pass.
  • 21-scenario impedance stress test (40/50/60/75 ohm): label propagation, renorm commutation, embed/de-embed round-trips, mismatch detection.
  • Cold-install verified: pkg install + pkg test rf clean on Octave 11.1.

Install

pkg install 'https://github.com/Sparamix/octave-rf/releases/download/v0.1.1/rf-0.1.1.tar.gz'
pkg load rf

SHA256 (rf-0.1.1.tar.gz): e2e7aa007370cc219b3809de61e047ae808dce7f693581d035bff3a9468fc41f