PyMieSim documentation#
Calculate light scattering by spheres, core-shell spheres, and infinite cylinders. Build a single-particle model, sweep experimental parameters, or fit physical parameters to measured data with explicit units.
Version: 6.1.6
Install PyMieSim and calculate scattering efficiency and collected power.
Run parameter sweeps, fit measurements, average particle sizes, or plot fields.
Run complete scripts and learn to interpret their plots and numerical outputs.
Find constructors, supported measures, and result types.
Choose your starting point#
New to the package? Start with Getting started in 10 minutes.
Have a calculation in mind? Use Choose an interface.
Need to understand the physics? Read Theory and Measure reference.
Installation failing? Check Compatibility matrix and Troubleshooting.
Preparing a reproducible study? See Reproducible studies and Performance and scaling.
PyMieSim models isolated-particle scattering. Particle-size averaging assumes independent scattering; it does not add interactions between particles. See Particle-size distributions: independent scattering for the averaging assumptions.