PyStratify against tmm
Under active development. Verification is growing as comparisons are added and rerun: the matrix, its figures and their presentation are not yet in their final form. Spotted an error, or missing a topic? Tell us.
tmm computes with Byrnes's coherent and incoherent transfer matrices. Each case computes the same quantity with PyStratify and with tmm and plots both on the same axes.
Incoherent stack
PyStratify's incoherent solver against inctmm, the code it replaced
Open in calculator
R, PyStratify (pimtmm)
T, PyStratify (pimtmm)
A, PyStratify (pimtmm)
R, inctmm
T, inctmm
A, inctmm
RTAPyStratify (pimtmm)inctmm, every 15 nm
Source
Source typePlane wave
θ from normal [°]31
λ min [nm]450
λ max [nm]900
λ step [nm]5
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| 1 | Film 1 | const | 2.08 | 0.03 | 90 | auto | |
| 2 | Thick layer | const | 1.47 | 0.001 | 12000 | incoherent | |
| 3 | Film 2 | const | 1.82 | 0.02 | 110 | auto | |
| ↓ | Out | const | 1.56 | 0 | ∞ | – |
Backside reflection
the glass's back reflection at 65° against inctmm and a phase average
Open in calculator
Σ|rs|², PyStratify
Σ|rp|², PyStratify
Re Σ rs r̄p, PyStratify
Rs, inctmm
Rp, inctmm
Re rs r̄p, phase average
Σ|rs|²Σ|rp|²Re Σ rs r̄pPyStratifyRs, inctmm, every 20 nmRp, inctmm, every 20 nmRe rs r̄p, phase average, every 20 nm
Source
Source typePlane wave
θ from normal [°]65
λ min [nm]400
λ max [nm]900
λ step [nm]10
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| 1 | Film | oscillator | Cauchy 2.0 + 0.01/λ² | – | 120 | auto | |
| 2 | Glass | const | 1.52 | 0 | 100000 | incoherent | |
| ↓ | Out | const | 1 | 0 | ∞ | – |