epsInterpolator functions references

Created on Mon Mar 30 09:12:22 2020

@author: mathieu

S4Utils.epsInterpolator.eps_interpolator(f, fp, x1, x2, nk=False)

Returns the complex permittivity interpolated from tabulated data, either in (n,k) files or in (eps1,eps2) files.

Parameters
  • f (1D array) – 1D array of frequency at which to interpolate the data

  • fp (1D array) – Array of frequency for the tabulated data

  • x1 (1D array) – Array of tabulated data (n or eps1)

  • x2 (1D array) – Array of tabulated data (k or eps2)

  • nk (Bool, optional) – Flag. True if the data is in (n,k) form, False if in (eps1, eps2) form. Defaults to False

Returns

eps – 1D array of (complex) permittivity (len(f))

Return type

1D array

S4Utils.epsInterpolator.eps_Au(f)

Ordal tabulated values for gold

Parameters

f (1D array) – Frequency

Returns

eps – Complex permittivity of Au (Ordal tabulated data)

Return type

1D array