/mielib

Python library with Mie-related functions for optics and acoustics.

Primary LanguagePythonMIT LicenseMIT

DOI

MieLib

Python library with many Mie-related functions for optics and acoustics. In particular:

  • Scattering Mie coefficients for isotropic spheres:
    • Acoustic Mie coefficients based on Phys. Rev. Lett. 123, 183901 (2019) (see SM)
    • Optics Mie coefficients based on Bohren Huffmann book.
  • Scalar spherical harmonics
  • Vector spherical harmonics (complex and real)

Instalation

From PYPI/mielib:

pip install mielib

Examples

See examples folder with Jupyter Notebooks.

ToDo

  • Make tests
  • Setup github actions
  • Search for complex poles of Mie scattering coefficients

Credits

@misc{mielib,
	author = {Ivan Toftul},
	title = {{MieLib python library}},
	journal = {GitHub},
	year = {2023},
	url = {https://github.com/toftul/mielib},
	doi = {10.5281/zenodo.8008648}
}