fresnel

Function fresnel 

Source
pub fn fresnel(
    ks: [[Complex; 2]; 2],
    kzs: [[Complex; 2]; 2],
    zs: [Complex; 2],
) -> Result<(Blocks, FresnelResidual)>
Expand description

Planar interface from full and normal wavenumbers and impedances, each indexed by medium (negative side, then positive side) and then by polarization.

Returns four helicity scattering blocks with polarization order (0, 1).

Upstream: treams.coeffs.fresnel(ks, kzs, zs).