spherical_coefficient

Function spherical_coefficient 

Source
fn spherical_coefficient<const N: usize>(
    mode: Mode,
    prefactor: Complex,
    vector: [Complex; 3],
    direction: &Direction<N>,
    pol: u8,
    helicity: bool,
) -> Jet<N>
Expand description

The coefficient of mode in the regular expansion of a unit plane wave of polarization pol, without the position phase: the prefactor times exp(-i m phi) times the polarized angular function of theta.