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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mieroots-0.5.0.tar.gz (811.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mieroots-0.5.0-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file mieroots-0.5.0.tar.gz.

File metadata

  • Download URL: mieroots-0.5.0.tar.gz
  • Upload date:
  • Size: 811.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mieroots-0.5.0.tar.gz
Algorithm Hash digest
SHA256 51be1e16621bdd38e77ec9f282634dc0131a9f7b3ae5557a5be9f5a4cd150785
MD5 bff0425fef45c62ffe13ef65616dde02
BLAKE2b-256 f9b7e85e15dcae4d035c95971cf8a2d70c1dbc47a64d90c2272df8191d039ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mieroots-0.5.0.tar.gz:

Publisher: release.yml on claudio-sc/mieroots

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mieroots-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: mieroots-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mieroots-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e79a17bb85f48b6a64f68c84d8ce5e8dbecb4700d2b03c75797b5dd7d453e1f4
MD5 ffb49bbd0f6567eb31e9b57200aa6f86
BLAKE2b-256 5941c2e134998981ad6a2e770263f17da7c418dabdea59e9575baaade6883e59

See more details on using hashes here.

Provenance

The following attestation bundles were made for mieroots-0.5.0-py3-none-any.whl:

Publisher: release.yml on claudio-sc/mieroots

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

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