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 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.2.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.2.0
File Size Uploaded Provenance Actions
mielib-0.2.0.tar.gz 7.4 kB With provenance Details for mielib-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / mielib-0.2.0.tar.gz

Download URL mielib-0.2.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dabf71ca8ca3da321a1bb00c4dc4bdd02c52d8bcf96b4d12b5cec894a7f88ceb
BLAKE2b-256 checksum
How to use checksums
70ba0ebb0230f59e9d7629ae43a61438c36c995a0d38a14c3353fcf327da44ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 19, 2026.

Transparency log

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

Download URL mielib-0.2.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd91529e7e948ff5a8e116b8d4806ed37dc6c076ca10a128fd70ab323f1d9722
BLAKE2b-256 checksum
How to use checksums
61aadbe37fbf1e28db0bcc7247496b39fb89f5b98b02e172f29da44bd7dd72cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 19, 2026.

Transparency log

Security for mielib 0.2.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.2.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 19, 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