How PyStratify is verified
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.
Every film, cylinder and sphere in the calculator is computed by PyStratify (open source, GPL-3.0). Its results are checked two ways: against closed forms, limits and conservation laws, and against other software written independently. Each icon opens a page of figures; one script in PyStratify computes each page.
What PyStratify is checked against
● asserted by a test · ◐ report or crosscheck · the number counts figures
| Checked against | Thin films30 checks | Cylinders9 checks | Spheres28 checks | |||
|---|---|---|---|---|---|---|
| Plane wave | Point dipole | Plane wave | Point dipole | Plane wave | Point dipole | |
| Consistency checksclosed forms, limits, conservation laws, extended precision, independent routes | ||||||
| Other software | ||||||
| BHMIEBohren & Huffman's Mie program (the book's Appendix A) | ||||||
| Meepfinite differences in time | ||||||
| MNPBEMboundary elements, under GNU Octave | ||||||
| NGSolvefinite elements | ||||||
| pyElli2×2 and Berreman 4×4 transfer matrices | ||||||
| pyGDM2volume Green dyadic | ||||||
| PyMooshscattering matrices | ||||||
| scattnlaymultilayer Mie series | ||||||
| smuthiT-matrices with Sommerfeld integrals | ||||||
| tmmaxtransfer matrices in JAX | ||||||
| treamsT-matrices | ||||||