PyStratify against tmmax

← Verification · Thin films · Plane wave

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
40050060070080090000.10.20.30.4λ [nm]R
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
kpsd 100 nmkpsd 100 nm

Thin films · Plane wave

LabelMaterialnkThickness [nm]Coherence
↓Inconst10∞–
1Layerconst2.10100auto
↓Outconst10∞–

Quarter-wave mirror

tmmax as shipped is wrong beyond one layer; with its scan step fixed it agrees

Open in calculator
40050060070080090000.20.40.60.81λ [nm]R
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
kpsRepeated 5 times×5d 763.5 nmkpsRepeated 5 times×5d 763.5 nm

Thin films · Plane wave

LabelMaterialnkThickness [nm]Coherence
↓Inconst10∞–
51AHconst2.35058.5auto
1BLconst1.46094.2auto
↓Outconst1.520∞–