differt.em.refraction_coefficients

differt.em.refraction_coefficients#

refraction_coefficients(n_r, cos_theta_i)[source]#

Compute the Fresnel refraction coefficients at an interface.

Parameters:
  • n_r (Inexact[ArrayLike, '*#batch']) –

    The relative refractive indices.

    This is the ratios of the refractive indices of the second media over the refractive indices of the first media.

  • cos_theta_i (Float[ArrayLike, '*#batch']) – The (cosine of the) angles of incidence (or reflection).

Return type:

tuple[Complex[Array, '*batch'], Complex[Array, '*batch']]

Returns:

The refraction coefficients for s and p polarizations.