Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1007 Bytes

File metadata and controls

33 lines (26 loc) · 1007 Bytes

python-mie

Pure Python package for Mie scattering calculations. This package is used by, for example, the structural-color python package.

To install:

git clone https://github.com/manoharan-lab/python-mie.git
python -m pip install ./python-mie

To remove:

python -m pip uninstall pymie

You can then run the tests to make sure the package works properly:

cd python-mie
pytest -v

The original code was developed by Jerome Fung in the Manoharan Lab at Harvard University. The code has since been updated by Victoria Hwang, Anna B. Stephenson, and Vinothan N. Manoharan. It works in Python 3, and it can handle quantities with dimensions (using pint).

The development of this code was made possible with support from the National Science Foundation under award numbers CBET-0747625, DMR-0820484, DMR-1306410, DMR-1420570, and DMR-2011754.