astropy:docs

complex_transmission_reflection

omnifit.utils.complex_transmission_reflection(in_m0, in_m1, in_m2)[source] [edit on github]

Calculate the complex transmission and reflection coefficients between media 0, 1, and 2 given their complex refractive indices. In the Kramers-Kronig implementation (in which this is most likely used in the context of Omnifit) media 0, 1, and 2 correspond respectively to the vacuum, ice, and substrate.

Parameters:

in_m0 : complex or numpy.ndarray

The complex refractive index of medium 0.

in_m1 : complex or numpy.ndarray

The complex refractive index of medium 1.

in_m2 : complex or numpy.ndarray

The complex refractive index of medium 2.

Returns:

A tuple containing the following elements:

  • The complex transmission coefficient between media 0 and 1
  • The complex transmission coefficient between media 0 and 2
  • The complex transmission coefficient between media 1 and 2
  • The complex reflection coefficient between media 0 and 1
  • The complex reflection coefficient between media 0 and 2
  • The complex reflection coefficient between media 1 and 2