**This is an old revision of the document!**

# Fitting of dielectric function

Frequency dependent dielectric function cannot be specified in FDTD in tabular form.

However, it can be substituted into FDTD scheme using following approximation

Number of terms and coefficients , , should be chosen in order to approximate given with sufficient accuracy and do not necessary have a physical meaning.

In physical literature following models are commonly used:

- Debye term
- Drude term
- Lorentz term

Case does not correspond to any of physical model, but allows to obtain more accurate fittings.
For example, two () terms of this case are sufficient to fit silicon dielectric function over the wavelength range from 300 to 1000 nm, whereas even a large number of Debye, Drude or Lorentz terms () is inadequate there
^{1)}.
Previous fitting for silicon by 3 Lorentz terms (see paper on textured antireflective coatings
^{2)})
is accurate only for the visible range and no fitting with Lorentz terms was found for both visible and near ultraviolet ranges.

The way to substitute Debye, Drude and Lorentz terms into FDTD scheme is described in
^{3)}.
FDTD scheme for terms using ADE (auxliliary differential equation) technique can be found in our work
^{4)}.

You can fit arbitrary dielectric function with simple MatLab program that can be download from here. This program is well commented and easy to understand. You should specify all necessary parameters (number of terms , file with tabular dielectric function, etc.) in file 'fitting.m' . Initial settings in 'fitting.m' were used to fit experimental data for silicon dielectric permittivity.

^{1)},

^{4)}A. Deinega and S. John, “Effective optical response of silicon to sunlight in the finite-difference time-domain method,” Opt. Lett. 37, 112-114 (2012) http PDF

^{2)}A. Deinega, I. Valuev, B. Potapkin and Yu. Lozovik, “Minimizing light reflection from dielectric textured surfaces,” JOSA A 28, 770-777 (2011) http PDF

^{3)}A. Taflove and S. H. Hagness, Computational Electrodynamics: The Finite Difference Time-Domain Method, Artech House, Boston (2005)