Coding examples#
Each gallery contains runnable Python scripts and their outputs. Start with a
small example, then follow the interpretation gallery to connect numerical
results to physical conclusions. Measure requests use Measure members;
result names and table column names remain strings such as "Qsca".
Single particle
Scattering properties, fields, polarization, and detector coupling.
Parameter sweeps
Explore wavelength, diameter, material, and detector grids.
Inverse fitting
Fit bounded parameters to scalar or unit-bearing measurements.
Interpret results
Understand resonances, angular scattering, and fit residuals.
Validation
Compare with reference results and physical consistency checks.
Benchmarks
Measure runtime and memory use for reproducible studies.
Extras
Explore detector weights, mode profiles, and additional plots.