lxmie_jax#
- exo_skryer.lxmie_mod.lxmie_jax(ri, x, *, nmax: int = 2000, cf_max_terms: int = 2000, cf_eps: float = 1e-10)[source]#
JIT-safe LX-MIE Mie solver.
Computes Mie scattering efficiencies for homogeneous spheres using the full Lorenz-Mie solution with continued fractions for numerical stability (Kitzmann et al. 2018). For JIT compatibility, we meed to assume a constant nmax (Accurate up to around x = 1000)
- Parameters:
- ri
ndarray Complex refractive index (m = n + ik).
- x
ndarray Size parameter (x = 2πr/λ).
- nmaxint, optional
Maximum number of Mie coefficients (default: 4096).
- cf_max_termsint, optional
Maximum continued fraction terms (default: 4096).
- cf_epsfloat, optional
Continued fraction convergence tolerance (default: 1e-10).
- ri
- Returns: