Skip to main content

mieroots

CI PyPI Python License: MIT

Resonances and anapoles of spherical particles are roots of a polynomial. Here they are.

The zeros and poles of the standard Mie multipolar coefficients of a sphere are roots of explicit polynomials in the relative permittivity ε = εp/ε1, with coefficients that depend only on the size parameter. mieroots builds those polynomials and solves them — no auxiliary eigenvalue problems, no biorthogonal modal bases, no scanning a transcendental expression for a sign change.

Two families of intrinsic, excitation-independent material quantities follow:

  • Anapole permittivities — the numerator roots: the contrasts at which a multipolar channel is exactly extinguished. Because the scattering cross-section is a sum of strictly non-negative multipolar terms, suppression can only happen channel by channel, so these roots are the complete algebraic inventory of radiationless conditions.
  • Resonant permittivities — the denominator roots, whose imaginary part encodes the radiative decay of each channel.

Status: pre-alpha. The repository scaffolding is in place; the physics is being ported from the research code. The API sketched below is the target, not yet the shipped surface.

Installation

pip install mieroots

Quick look

import mieroots  # noqa: F401

print(mieroots.__version__)

Citation

If you use mieroots in academic work, please cite both the software and the paper:

C. Silvestre Castro, A. Bruyant and R. Vincent, Anapole and resonant permittivities of spherical particles as polynomial roots, Optics Letters (submitted).

Machine-readable metadata is in CITATION.cff.

Documentation

https://claudio-sc.github.io/mieroots

Contributing

See CONTRIBUTING.md. Commits follow Conventional Commits; releases are automated with python-semantic-release and gated on a green test run of the same commit — lint, mypy --strict, the full Python/OS test matrix and the docs build all run as a job the release needs:, so a red run blocks the version bump, the GitHub release and the PyPI upload.

Funding

Graduate School NANO-PHOT (ANR-18-EURE-0013) and Agence Nationale de la Recherche (ANR-19-CE42-0008).

License

MIT — see LICENSE.

Metadata

Release files for mieroots 0.5.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 mieroots 0.5.0
File Size Uploaded Provenance Actions
mieroots-0.5.0.tar.gz 811.5 kB With provenance Details for mieroots-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 867.1 kB

Release files / mieroots-0.5.0.tar.gz

Download URL mieroots-0.5.0.tar.gz
Size 811.5 kB
Tags Source
SHA-256 checksum
How to use checksums
51be1e16621bdd38e77ec9f282634dc0131a9f7b3ae5557a5be9f5a4cd150785
BLAKE2b-256 checksum
How to use checksums
f9b7e85e15dcae4d035c95971cf8a2d70c1dbc47a64d90c2272df8191d039ef2
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 Aug 7, 2026.

Transparency log

Release files / mieroots-0.5.0-py3-none-any.whl

Download URL mieroots-0.5.0-py3-none-any.whl
Size 55.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e79a17bb85f48b6a64f68c84d8ce5e8dbecb4700d2b03c75797b5dd7d453e1f4
BLAKE2b-256 checksum
How to use checksums
5941c2e134998981ad6a2e770263f17da7c418dabdea59e9575baaade6883e59
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 Aug 7, 2026.

Transparency log

Security for mieroots 0.5.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mieroots-0.5.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 Aug 7, 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