PyStratify against pyGDM2
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
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
Sphere · Plane wave
| Label | Material | n | k | Thickness [nm] | ||
|---|---|---|---|---|---|---|
| C | Sphere | const | 2 | 0.1 | 40 | |
| H | Air | const | 1 | 0 | ∞ |