Skip to main content

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 --upgrade mielib

Examples

See examples folder with Jupyter Notebooks.

ToDo

  • 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}
}

Metadata

Release files for mielib 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mielib 0.3.0
File Size Uploaded Provenance Actions
mielib-0.3.0.tar.gz 9.9 kB With provenance Details for mielib-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mielib 0.3.0
File Interpreter ABI Platform Actions
mielib-0.3.0-py3-none-any.whl Python 3 none any Details for mielib-0.3.0-py3-none-any.whl

Total release size: 22.8 kB

Release files / mielib-0.3.0.tar.gz

Download URL mielib-0.3.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7df6292f82e6780a0c10dfe62ee77ecb800c86e2bfd248434241ae9a93567e1d
BLAKE2b-256 checksum
How to use checksums
50c748dc2b36e23fdcd5834d740fd11eff92c55c7a1e3a9534cde983077a8087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / mielib-0.3.0-py3-none-any.whl

Download URL mielib-0.3.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d03cc4986a684aac5e112d948aebd99be2fc514b9bb4294a27a85172c1c5fa8f
BLAKE2b-256 checksum
How to use checksums
e9eccd19324ea7e75124e45c715495834818875cd6b17a83dc23d2acc2cd040e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for mielib 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mielib-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page