Repository navigation
The first release since 1.0.0. Upgrade if you use lumped ports: the 1.0.0 lumped-port terms were not physical, and a matched 50 Ω line gave |S21| = 0.03–0.11 instead of 1.
Validated
- WR-90 and WR-42 wave ports (7–12 GHz and 20–26 GHz) through
build_wave_port_2d+calculate_sparams_eigenmode, against analytic TE10. WR-90 gives |S11| 0.003–0.053 and |S21| ≥ 0.997. - 2.45 GHz probe-fed patch through lumped (gap) ports, against openEMS. Resonance is at 2.375 GHz with minimum |S11| −14.39 dB.
Results that change from 1.0.0
- Lumped (gap) ports: physical load and source terms, one factorization per frequency.
- Wave ports: use the assembled port surface mass matrix with the 2D discrete port mode.
port_abc_scaledefaults to 1.0; 0.5 is no longer needed. - Sign errors against the exp(+jωt) convention are fixed:
- the PML had gain;
- Drude materials had gain;
- C++ far fields came out point-reflected through the origin;
- the stacked-patch far field swapped co- and cross-polarization and halved directivity.
- Periodic BCs: pair orientation and the Bloch phase are fixed.
- Touchstone: 2-port files had S12 and S21 swapped.
- Mesh loader: refuses MSH 4, binary and second-order files instead of loading them as garbage, and reads CRLF files.
Refused unless you opt in
UnitCellDesignresults needexperimental=True: there is no validated Floquet port.add_patch,add_slotandadd_viaraise.compute_embedded_patternsraises.
The modal-port terms kept from 1.0.0 (calculate_sparams with ports from build_wave_port*) are not validated and warn when used. Use calculate_sparams_eigenmode for wave ports.
Packaging
- Wheels for CPython 3.9–3.13 on Linux x86_64 (manylinux_2_28) and macOS 14+ (arm64 and x86_64).
- Wheels use Eigen SparseLU, so they stay MIT; UMFPACK is GPL-2.0-or-later and is an opt-in source build.
The full list, including breaking changes, is in CHANGELOG.md.