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

Get started

Install PyMieSim and calculate scattering efficiency and collected power.

Getting started in 10 minutes
Follow a workflow

Run parameter sweeps, fit measurements, average particle sizes, or plot fields.

Workflows
Explore examples

Run complete scripts and learn to interpret their plots and numerical outputs.

Coding examples
Look up the API

Find constructors, supported measures, and result types.

API Reference

Choose your starting point#

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.