PyStratify against scattnlay
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
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
Sphere · Plane wave
| Label | Material | n | k | Thickness [nm] | ||
|---|---|---|---|---|---|---|
| C | Metal | const | 0.157917 | 3.16622 | R/3 | |
| 1 | Silica | const | 1.45 | 0 | R/3 | |
| 2 | Metal | const | 0.157917 | 3.16622 | R/3 | |
| H | Water | const | 1.33 | 0 | ∞ |
Scattering pattern
the amplitudes |S₁| and |S₂| against scattnlay's
Open in calculator
|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
Sphere · Plane wave
| Label | Material | n | k | Thickness [nm] | ||
|---|---|---|---|---|---|---|
| C | Water-like | const | 1.33 | 0 | 19099 | |
| H | Air | const | 1 | 0 | ∞ |
Matryoshka near field
|E|² through every layer against scattnlay's field code
Open in calculator
|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
Sphere · Plane wave
| Label | Material | n | k | Thickness [nm] | ||
|---|---|---|---|---|---|---|
| C | Metal | const | 0.157917 | 3.16622 | 10 | |
| 1 | Silica | const | 1.45 | 0 | 10 | |
| 2 | Metal | const | 0.157917 | 3.16622 | 10 | |
| H | Water | const | 1.33 | 0 | ∞ |