Examples#

A gallery of examples and that showcase how PyMieSim can be used. Some examples demonstrate the use of the API in general and some demonstrate specific applications in tutorial form.

Scatterers#

Source Plottings

Source Plottings

S1 S2 Function Computation

S1 S2 Function Computation

Stokes Parameters Computation

Stokes Parameters Computation

SPF Computation

SPF Computation

Far-Fields Computation and Visualization

Far-Fields Computation and Visualization

Scatterer Footprint Calculation and Visualization

Scatterer Footprint Calculation and Visualization

Detectors#

Photodiode Detector

Photodiode Detector

LP11 Mode Detector

LP11 Mode Detector

LP02 Mode Detector

LP02 Mode Detector

Photodiode Detector

Photodiode Detector

LP01 Mode Detector

LP01 Mode Detector

Hermite-Gauss 01 Mode Detector

Hermite-Gauss 01 Mode Detector

Laguerre-Gauss 2-3 Mode Detector

Laguerre-Gauss 2-3 Mode Detector

Hermite-Gauss 31 Mode Detector

Hermite-Gauss 31 Mode Detector

Experiments#

Sphere: B1 scattering coefficient

Sphere: B1 scattering coefficient

Sphere: A1 scattering coefficient

Sphere: A1 scattering coefficient

Sphere: Qsca vs index

Sphere: Qsca vs index

Sphere: Qsca vs wavelength mean

Sphere: Qsca vs wavelength mean

Sphere: Qsca vs diameter

Sphere: Qsca vs diameter

Sphere: Qsca vs diameter

Sphere: Qsca vs diameter

Sphere: Qsca vs wavelength STD

Sphere: Qsca vs wavelength STD

Cylinder: Qsca vs wavelength std

Cylinder: Qsca vs wavelength std

Cylinder: A1 Scattering Coefficient

Cylinder: A1 Scattering Coefficient

Cylinder: B1 Scattering Coefficient

Cylinder: B1 Scattering Coefficient

Sphere: Coherent mode field rotation

Sphere: Coherent mode field rotation

Sphere: Goniometer

Sphere: Goniometer

Sphere: Coupling vs diameter

Sphere: Coupling vs diameter

Cylinder: Qsca vs Index

Cylinder: Qsca vs Index

Cylinder: Qsca vs Diameter

Cylinder: Qsca vs Diameter

Sphere: Coupling vs wavelength

Sphere: Coupling vs wavelength

Sphere: Coherent Goniometer

Sphere: Coherent Goniometer

Sphere: Coupling vs polarization filter

Sphere: Coupling vs polarization filter

Cylinder: Qsca vs Wavelength

Cylinder: Qsca vs Wavelength

Cylinder: Qabs vs Diameter

Cylinder: Qabs vs Diameter

CoreShell: B1 vs Core Diameter

CoreShell: B1 vs Core Diameter

CoreShell: B1 vs Core Diameter

CoreShell: B1 vs Core Diameter

CoreShell: Qback vs Core Diameter

CoreShell: Qback vs Core Diameter

Cylinder: Coupling vs Diameter

Cylinder: Coupling vs Diameter

Cylinder: Goniometer

Cylinder: Goniometer

CoreShell: Coupling vs Diameter

CoreShell: Coupling vs Diameter

Cylinder: Coupling vs Wavelength

Cylinder: Coupling vs Wavelength

Validation#

Bohren-Huffman (figure~8.10)

Bohren-Huffman (figure~8.10)

Bohren-Huffman (figure~8.7)

Bohren-Huffman (figure~8.7)

PyMieSim vs PyMieScatt Comparison

PyMieSim vs PyMieScatt Comparison

Comparison of Scattering Efficiency Using PyMieSim vs PyMieScatt

Comparison of Scattering Efficiency Using PyMieSim vs PyMieScatt

PyMieSim vs PyMieScatt for Core-Shell Particles

PyMieSim vs PyMieScatt for Core-Shell Particles

PyMieSim vs PyMieScatt Scattering Efficiency Comparison for Core-Shell Particles

PyMieSim vs PyMieScatt Scattering Efficiency Comparison for Core-Shell Particles

Comparison of PyMieSim and Theoretical Bohren-Huffman Data for Cylinder Scattering

Comparison of PyMieSim and Theoretical Bohren-Huffman Data for Cylinder Scattering

Goniometric Coupling vs S1 S2 Comparison

Goniometric Coupling vs S1 S2 Comparison

Extras examples#

PyMieSim can be used in many ways. Below is a gallery of examples showing different ways to use the library.

Samples Properties

Samples Properties

Scattering efficiency of a sphere

Scattering efficiency of a sphere

Coupling heatmap of a sphere

Coupling heatmap of a sphere

Gallery generated by Sphinx-Gallery