PyStratify against treams: near fields

← Verification · Spheres · Plane wave
Reference
treams, near fields
Kind
code: another group's code
Calculated
scattered E and H in the host (1.05–3 radii, five polar angles) of six spheres and multilayers where its dense T-matrix fits (l_max ≤ 40)
Agreement
1e-10; observed ≤ 6.6e-14
A nanoshell (10 nm silica core, 10 nm shell of ε = −10 + i) in air, 600 nm: the scattered field outside it against treams Along a line at 30° from the incidence axis: treams applies its T-matrix to the expanded plane wave and evaluates the scattered waves; PyStratify its own near field without the incident wave. The test covers six spheres, 1.05–3 radii, five angles.
253035404550556010⁻³10⁻²10⁻¹110distance from the centre [nm]|E_sca|²
|Esca|², PyStratify |Esca|², treams
Hover to read values.
  • largest relative difference (vector field): 2.11×10⁻¹⁵
  • PyStratify the lines, the reference the circles

Run it yourself: mie_codes.py · test_mie_codes.py · figures.py · MIE_CODES.md on GitHub, PyStratify 97e52a9