PyStratify against PyMoosh

← Verification · Thin films · Plane wave
Reference
PyMoosh incoherent.py
Kind
code: another group's code
Calculated
incoherent R, T of coherent films on a thick incoherent substrate: the first independent incoherent reference
Agreement
1e-12; observed ≤ 5e-15
80 nm of TiO₂ (n = 2.3 + 0.01i) on 1 mm of incoherent glass, in air: R and T against PyMoosh's incoherent solver A coherent film on a thick substrate whose back reflection adds in power, not in amplitude: PyMoosh's incoherent.py is the first incoherent reference independent of PyStratify's lineage (inc_tmm).
400500600700800900100000.20.40.60.81λ [nm]R, T
R, 0° s, PyStratify T, 0° s, PyStratify R, 60° p, PyStratify T, 60° p, PyStratify R, 0° s, PyMoosh T, 0° s, PyMoosh R, 60° p, PyMoosh T, 60° p, PyMoosh
Hover to read values.
  • largest |difference|: 1.67×10⁻¹⁵
  • PyStratify the lines, the reference the circles

Run it yourself: planar_codes.py · test_planar_codes.py · figures.py · PLANAR_CODES.md on GitHub, PyStratify 97e52a9