pub fn oriented_chirality(
transverse: Vec<[f64; 2]>,
normal: Vec<Complex>,
polarizations: Vec<u8>,
axis: usize,
interval: [f64; 2],
) -> Result<(DMatrix<Complex>, OrientedChiralityResidual)>Expand description
Signed helicity up/down/cross forms, shape (3, modes), for any Cartesian normal.
The transverse components are real and follow the cyclic order after axis.
The cross form X enters the density as Re(down* X up). The residual keeps only the
geometry.
Upstream: treams.chirality_density in the helicity convention, along any axis,
with the differences of the module docs.