stratified_coefficients#
- deeptrack.backend.mie.stratified_coefficients(m: List[complex], a: List[float], L: int) Tuple[ndarray, ndarray] #
Calculate the Mie scattering coefficients for stratified spherical particles.
This function calculates the terms up to (and including) order L using Riccati-Bessel polynomials.
Parameters#
- mList[float or complex]
The relative refractive indices of the particle layers (n_particle / n_medium).
- aList[float]
The radii of the particle layers (> 0).
- Lint
The maximum order of the spherical harmonics to be calculated.
Returns#
- Tuple[np.ndarray, np.ndarray]
A tuple containing arrays of coefficients an and bn, up to (and including) order L.