PyStratify against Meep

← Verification · Thin films · Point dipole

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.

Meep computes with finite differences in time. Each case computes the same quantity with PyStratify and with Meep and plots both on the same axes.

Film on glass

total decay rates against Meep's FDTD (cylindrical, 100 px/µm)

Open in calculator
0.70.80.911.10.811.21.41.61.822.22.4λ [µm]Γ / Γ₀
perpendicular, PyStratify parallel, PyStratify perpendicular, Meep parallel, Meep
perpendicularparallelPyStratifyMeep, 17 points

Source

Source typeElectric point dipole
Offset from origin · z [nm]-100
λ min [nm]606.0606
λ max [nm]1176.471
points161
z = 0zpd 200 nmz -100 nm∥ parallel∥⊥ normal⊥z = 0zpd 200 nmz -100 nm∥ parallel∥⊥ normal⊥

Thin films · Electric dipole

LabelMaterialnkThickness [nm]Coherence
↓Inconst10∞–
1Filmconst2.30200auto
↓Outconst1.520∞–