Dielectric Files

Provide files containing the dielectric/refractive index information for the materials in the multilayered sphere.

They must be tab-separated files with a tab-separated header row and no spaces. All lines you want ignored should be preceded with '#'.

The script will interpolate between these wavelengths if your dielectric file has asymmetric gaps.

The user has the option of compiling dielectric information into one text file or mulitple.

For example, if a layer is made of Au, the file containing the Au dielectric information can also contaion other dielectrics, but the column reference for that file needs to refer to the Au columns.

Make sure that every file has its first column as the wavelengths (in nm). If wavelengths are given in micrometer, the system will set them to nm if the values are all less than 10 micrometer.


Settings File

This website doubles as a JSON settings file creator. For the .py version of this processor, a mieSettings.txt file is required. For the user who does not have an original mieSettings.txt file prepared, he or she can use this webpage to generate one.

However, when preparing to use the mieSettings.txt file on the .py version, make sure to follow the README.txt instructions on how to properly use the file's path name.

Formatting Example
{
  "dielectricData": ["Au_diel.txt", "Ag_diel.txt"],
  "outputFileName": "mieResults.txt",
  "numLayers": "2",
  "radii": ["20", "30"],
  "dielectricColumns": ["1", "2", "1", "2"],
  "startWavelength": "300",
  "stopWavelength": "800",
  "requestInterval": "2"
}

Number of Layers

The minimum number of layers for the processor is 2.

However, if you want to run a solid sphere, just make two layers and set both materials to be the same.

For processing's sake, the maximum layers is 6.


Radii

For each layer, the radial measurement is from the center of the sphere to the outermost edge of the layer.

The image at the top of the page provides a good example.


Dielectric Columns

The columns in your dielectric file are indexed at 0.

Therefore, the first column (the wavelegnths) is column 0 and the second column is column 1.

The first input for a layer's columns is the real component of the dielectric function and the second input is the imaginary component.


Wavelengths

Since dielectric files can vary so much, we use the sample points in your dielectric files to inpterpolate a complete list of dielectric values for any given wavelength.

However, the first and last wavelengths requested by the processor must be included in the range of your input file.

The processor uses an interpolation method known as the Lagrangian 4-point interpolation found here.


Processor