EMpy 3.0
This week, I released a new major version 3.0 of EMpy!
EMpy (ElectroMagnetic Python) is an open-source Python suite of numerical algorithms for electromagnetism, photonics, and integrated optics: isotropic and 4 × 4 anisotropic transfer matrix methods, planar/conical/anisotropic rigorous coupled-wave analysis (RCWA), finite-difference and film-mode-matching waveguide mode solvers, passive and Lorentz-reciprocal waveguide S-matrix cascades, optical ring resonators and coupled-resonator photonic circuits, liquid-crystal electro-optics, and 3D vector diffraction integrals.

The full CHANGELOG is available on GitHub. Few notable improvements are:
- Much better testing suite, using known analytical solutions as testing fixtures.
- Comprehensive tests comparing degenerate cases, e.g. lossless vs lossy, isotropic vs anisotropic, etc.
- Various bug fixes, especially in degenerate cases.
- Consolidation of conventions, e.g. the imaginary part of the refractive index of a lossy medium, the naming of incident angles, etc.
- Various inevitable off-by-one errors.
Give it a go, and reach out to me for questions!
Ah, and if you fancy sponsoring this work, I have a sponsor me page now!