PyStratify against scattnlay

← 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.

scattnlay computes with multilayer Mie series. Each case computes the same quantity with PyStratify and with scattnlay and plots both on the same axes.

Matryoshka

radii scaled together, 1 : 2 : 3, outer 9–120 nm: Q against scattnlay

Open in calculator
2040608010012001234567outer radius [nm]Q
Qext, PyStratify Qsca, PyStratify Qext, scattnlay Qsca, scattnlay
QextQscaPyStratifyscattnlay, every 3 nm

Source

Source typePlane wave
λ [nm]600
R min [nm]9
R max [nm]120
R step [nm]1
R 30 nm k R 30 nm k

Sphere · Plane wave

LabelMaterialnkThickness [nm]
CMetalconst0.1579173.16622R/3
1Silicaconst1.450R/3
2Metalconst0.1579173.16622R/3
HWaterconst1.330∞

Scattering pattern

the amplitudes |S₁| and |S₂| against scattnlay's

Open in calculator
02040608010012014016018010⁻¹11010²10³10⁴10⁵scattering angle [°]|S|
|S1|, PyStratify |S2|, PyStratify |S1|, scattnlay |S2|, scattnlay
|S1||S2|PyStratifyscattnlay, every 5°

Source

Source typePlane wave
λ [nm]600
θ min [°]0
θ max [°]180
θ step [°]0.25
R 19099 nm k R 19099 nm k

Sphere · Plane wave

LabelMaterialnkThickness [nm]
CWater-likeconst1.33019099
HAirconst10∞

Matryoshka near field

|E|² through every layer against scattnlay's field code

Open in calculator
-60-40-20020406010⁻¹11010²10³10⁴x [nm]|E|²
|E|², PyStratify |E|², scattnlay (fieldnlay)
|E|²PyStratifyscattnlay (fieldnlay), every 3 nm

Source

Source typePlane wave
λ [nm]600
x min [nm]-60
x max [nm]60
x step [nm]0.5
R 30 nm k R 30 nm k

Sphere · Plane wave

LabelMaterialnkThickness [nm]
CMetalconst0.1579173.1662210
1Silicaconst1.45010
2Metalconst0.1579173.1662210
HWaterconst1.330∞