60-digit transfer matrices
- Reference
- 60-digit transfer matrices
- Kind
- precision: the same mathematics in mpmath at 60–80 digits, written separately in
src/pystratify/references.pyandbenchmarks/mp_reference.py: proves the numerics, not the formulation - Calculated
- Mie coefficients of every shell (six multilayers incl.
mie_codes.py's 10-layer graded sphere) - Agreement
- 1e-10 (1e-7 nearly index-matched)
|T_ℓ|, electric (TM), PyStratify
|T_ℓ|, magnetic (TE), PyStratify
electric, 60 digits
magnetic, 60 digits
Hover to read values.
- largest relative difference over 40 orders:
- PyStratify the lines, the reference the circles
Run it yourself: sphere_checks.py · test_solver.py · figures.py · SPHERE_CHECKS.md on GitHub, PyStratify 97e52a9