PyStratify against tmmax
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.
tmmax computes with transfer matrices in JAX. Each case computes the same quantity with PyStratify and with tmmax and plots both on the same axes.
Single layer
R against tmmax as shipped (JAX, float32)
Open in calculator
R, PyStratify
R, tmmax 1.1.4 as shipped
RR, tmmax 1.1.4 as shipped, every 20 nmPyStratifytmmax 1.1.4 as shipped, every 20 nm
Source
Source typePlane wave
θ from normal [°]0
λ min [nm]400
λ max [nm]900
λ step [nm]5
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| 1 | Layer | const | 2.1 | 0 | 100 | auto | |
| ↓ | Out | const | 1 | 0 | ∞ | – |
Quarter-wave mirror
tmmax as shipped is wrong beyond one layer; with its scan step fixed it agrees
Open in calculator
R, PyStratify
R, tmmax 1.1.4 with the scan step fixed
R, tmmax 1.1.4 as shipped
RR, tmmax 1.1.4 with the scan step fixed, every 20 nmR, tmmax 1.1.4 as shipped, every 20 nmPyStratify
Source
Source typePlane wave
θ from normal [°]0
λ min [nm]400
λ max [nm]900
λ step [nm]5
Thin films · Plane wave
| Label | Material | n | k | Thickness [nm] | Coherence | ||
|---|---|---|---|---|---|---|---|
| ↓ | In | const | 1 | 0 | ∞ | – | |
| 5 | 1A | H | const | 2.35 | 0 | 58.5 | auto |
| 1B | L | const | 1.46 | 0 | 94.2 | auto | |
| ↓ | Out | const | 1.52 | 0 | ∞ | – |