View on GitHub

EMpy

ElectroMagnetic Python — Computational Electromagnetics & Photonics Suite

3D Vector Diffraction & Huygens–Kottler Scattering in Python

EMpy.scattering evaluates 3D vector Huygens–Kottler–Stratton–Chu diffraction integrals (currentsScatteringKottler) for arbitrary equivalent electric and magnetic surface currents \((\mathbf{J}, \mathbf{M})\) radiating into lossless or passive lossy homogeneous dielectric media.


Capabilities


Quick Python Example: Circular Aperture Vector Diffraction

import EMpy

# p_eplane: (N, 3) observation coordinates
# j_free, m_free: equivalent electric & magnetic surface currents on aperture
# q_ap, ds_ap: aperture quadrature points and surface area weights
fld_e = EMpy.scattering.currentsScatteringKottler(
    p_eplane, j_free, m_free, q_ap, ds_ap, f0, epsr=1.0
)

Vector Kottler circular aperture diffraction in E- and H-planes vs analytical Airy pattern


Benchmark Script & References

See also: Methodology & References · All Examples