polarized_wave

Function polarized_wave 

Source
pub(crate) fn polarized_wave<const N: usize>(
    m: [Jet<N>; 3],
    n: [Jet<N>; 3],
    pol: u8,
    helicity: bool,
) -> [Jet<N>; 3]
Expand description

The vector wave of polarization pol from its M and N parts: M (0) or N (1) in parity polarization, (N -+ M) / sqrt(2) for negative (0) or positive (1) helicity.