PyStratify against pyGDM2

← Verification · Spheres · 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.

pyGDM2 computes with volume Green dyadic. Each case computes the same quantity with PyStratify and with pyGDM2 and plots both on the same axes.

Absorbing sphere

cross sections against pyGDM2's volume discretization (percent-level by design)

Open in calculator
40045050055060065070075080002004006008001000120014001600λ [nm]C [nm²]
Cext, PyStratify Csca, PyStratify Cext, pyGDM2 (1405 dipoles) Csca, pyGDM2 (1405 dipoles)
CextCscaPyStratifypyGDM2 (1405 dipoles), every 25 nm

Source

Source typePlane wave
λ min [nm]400
λ max [nm]800
λ step [nm]2.5
R 40 nm k R 40 nm k

Sphere · Plane wave

LabelMaterialnkThickness [nm]
CSphereconst20.140
HAirconst10∞