weights

Function weights 

Source
fn weights(pol: u8, helicity: bool) -> [f64; 2]
Expand description

Weights [weight_n, weight_m] of the N and M parts of polarization pol: parity polarization 1 is N and 0 is M; helicity polarization pol is (N + (2 pol - 1) M) / sqrt(2), as in treams.special.vsw_A.