# CustomAnisotropicMedium

Diagonally anisotropic medium with spatially varying permittivity in each component.

# Name

name: Optional unique name for the medium.

# Frequency Range

frequency_range: Optional range of validity for the medium.

Type: floating-point number

  • Unit: Hz (default) or THz
  • Constraint: greater than 0
  • Default: None

# Interpolation Method

interp_method: Interpolation method to obtain permittivity values that are not supplied at the Yee grids.

For grids outside the range of the supplied data, extrapolation will be applied. When the extrapolated value is smaller (greater) than the minimal (maximal) of the supplied data, the extrapolated value will take the minimal (maximal) of the supplied data.

Options:

  • nearest
  • linear

Default: nearest

# Subpixel

subpixel: If True and simulation’s subpixel is also True, applies subpixel averaging of the permittivity on the interface of the structure, including exterior boundary and intersection interfaces with other structures.

Type: boolean

Default: False

# Diagonal Components

xx: Medium describing the xx-component of the diagonal permittivity tensor.

yy: Medium describing the yy-component of the diagonal permittivity tensor.

zz: Medium describing the zz-component of the diagonal permittivity tensor.

Options: