The materials() class

Overview

The materials() class is used to define and store the permittivity values of different materials as a function of wavenumber.

When a material is defined using one of the methods, the complex permittivity, ε, and complex refractive index, η, are stored inside the materials() object under the .matDict attribute.

The dictionary key for ε is ["eps"] and the key for η is ["eta"].

For example, to access the imaginary part of the permittivity of Au you would input:

np.imag(<materialsInstanceName>.matDict["Au"]["eps"])

where <materialsInstanceName> should be replaced with the name of your materials object without the < >.

Creating a materials() object

materials(domainInput, fixed_aoi_or_wavenumber, [loInput], [hiInput], [numVals])

Defines the basic parameters of the system and has various methods to define permittivities of materials.

Methods to define permittivity for single-component materials

In order to use any of the following methods, you must have already defined the permittivity functions of some materials. The methods that follow are different ways of combining the already-defined permittivity functions of pure materials together to create an effective permittivity function of a composite material in the long wavelength limit.

Back to main page.