sphere

Function sphere 

Source
pub fn sphere(
    lmax: u32,
    k0: f64,
    radii: &[f64],
    materials: &[Material],
) -> Result<(DMatrix<Complex>, SphereResidual)>
Expand description

The T-matrix of a concentric multilayer chiral sphere, in the order of sw::modes.

radii are the boundary radii, from inner to outer, and materials has one more entry, the embedding medium last. Each degree l contributes the Mie coefficients mie at the size parameters k0 r, repeated on its 2 l + 1 orders.

Upstream: treams.TMatrix.sphere. Differences: the helicity convention only.