Metadata-Version: 2.4
Name: mielib
Version: 0.3.0
Summary: Python library with many Mie-related functions for optics and acoustics
License: MIT
License-File: LICENCE
Author: Ivan Toftul
Author-email: toftul.ivan@gmail.com
Requires-Python: >=3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: scipy (>=1.18)
Project-URL: Homepage, https://github.com/toftul/mielib
Project-URL: Repository, https://github.com/toftul/mielib
Description-Content-Type: text/markdown

[![DOI](https://zenodo.org/badge/567526673.svg)](https://zenodo.org/badge/latestdoi/567526673)

# 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](https://pypi.org/project/mielib/):
```
pip install --upgrade mielib
```

## Examples

See examples folder with Jupyter Notebooks.

## ToDo

* Search for complex poles of Mie scattering coefficients

## Credits

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



