pymiediff.multishell

pymiediff.multishell#

Vectorized Mie solvers for spherical particles.

This module implements low-level numerical routines for:

  • Mie coefficients (a_n, b_n, optional internal coefficients),

  • integrated observables (cross sections),

  • far-field angular scattering amplitudes,

  • near-field electric and magnetic components.

The API is multilayer-first while keeping compatibility with legacy homogeneous/core-shell arguments.

Functions

angular_scattering(k0, theta[, r_layers, ...])

Compute far-field scattering amplitudes and intensities.

cross_sections(k0[, r_layers, eps_layers, ...])

Compute extinction, scattering, and absorption cross sections.

mie_coefficients(k0[, r_layers, eps_layers, ...])

Compute Mie coefficients for spherical particles.

nearfields(k0, r_probe[, r_layers, ...])

Compute incident, scattered, and total near fields.