polarization

Function polarization 

Source
pub fn polarization(
    vector: [Complex; 3],
    pol: u8,
    helicity: bool,
) -> Result<[Complex; 3]>
Expand description

Plane-wave electric vector at the origin in treams normalization.

Upstream: treams.special.vpw_M (pol 0) and vpw_N (pol 1) at the origin with helicity false, and vpw_A with helicity true.