PyStratify against pyElli
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.
pyElli computes with 2×2 and Berreman 4×4 transfer matrices. Each case computes the same quantity with PyStratify and with pyElli and plots both on the same axes.
Bragg stack
Rs at 30° against pyElli's 2×2 and Berreman 4×4 solvers
Open in calculatorSource
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| 10 | 1A | H | const | 2.35 | 0 | 67.3 | auto |
| 1B | L | const | 1.46 | 0 | 108.4 | auto | |
| ↓ | Out | const | 1.52 | 0 | ∞ | – |
Gold film
Ψ and Δ of 20 nm of gold on glass against pyElli's 4×4 solver
Open in calculatorSource
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| 1 | Au | const | 0.27 | 2.93 | 20 | auto | |
| ↓ | Out | const | 1.52 | 0 | ∞ | – |
Tauc–Lorentz model
ε₁ and ε₂ of the same model, written separately in both codes
Both codes evaluate the Tauc–Lorentz model (Jellison & Modine), each from its own source:
zero below the gap, and ε₁ by its closed-form Kramers–Kronig transform. = 120 eV, = 3.6 eV, = 2.4 eV, = 1.6 eV. Agreement checks the formulas and the parameter conventions together.
Drude model
a free-electron metal's ε against pyElli's DrudeEnergy
PyStratify's free-electron metal,
is negative below the plasma energy. pyElli's DrudeEnergy returns , whose real part is positive at every energy, so its curve is drawn as , as the test compares it; ε₂ needs no correction. = 8.9 eV, = 0.07 eV.
Rough Tauc–Lorentz film
Ψ and Δ at 70° against pyElli's 2×2 and 4×4 solvers
Source
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| Bruggeman | 25 % air · 75 % film | – | – | 3 | auto | ||
| 1 | Film | oscillator | Tauc–Lorentz | – | 80 | auto | |
| ↓ | Out | oscillator | Green 2008 | – | ∞ | – |
This setup's dispersive media are models the calculator holds only as constant indices here; it opens there approximately.