PyStratify against treams
- Reference
- treams (the dipole as an l = 1 singular wave, translated through the layered sphere's T-matrix and back)
- Kind
- code: another group's code
- Calculated
- total rate, radial and tangential, ED and MD, beside a nanoshell 5 nm away, a matryoshka in water and a dielectric core–shell
- Agreement
- converges geometrically in treams' l_max: 3e-8 (nanoshell, 50), 1.2e-11 (matryoshka, 50), ≤ 2.9e-15 (dielectric, ED and MD); asserted 1e-5, 1e-8 (l_max 40), 1e-13
radial, PyStratify
tangential, PyStratify
radial, treams
tangential, treams
Hover to read values.
- largest relative difference:
- 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