refind.applyInhomogeneousBroadening

refind.applyInhomogeneousBroadening(x, y, dx)

Convolute a refractive index / permittivity profile with a Gaussian to introduce inhomogeneous broadening. This broadened refractive index / permittivity still complies with Kramers Kronig relations.

Parameters:
  • x (array) – Frequency axis in same units as dx.
  • y (array) – Refractive index / permittivity profile to convolute (same shape as x).
  • dx (float) – FWHM of Gaussian in same units as x.
Returns:

Convoluted / broadened refractive index / permittivity profile.