# MediumMonitor

Monitor that records the diagonal components of the complex-valued relative permittivity and permeability tensors in the frequency domain.

The recorded data has the same shape as a FieldMonitor of the same geometry: the permittivity and permeability values are saved at the Yee grid locations, and can be interpolated to any point inside the monitor.

Note: If 2D materials are present, then the permittivity values correspond to the volumetric equivalent of the 2D materials.

# Name

name: Unique name for monitor.

Required field

# Size and Position

Specification of the monitor size and position.

# Center + size

Object definition through a center position and size.

center: Center of the object in x, y, and z-directions.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Default: (0, 0, 0)

size: Size of the object in x, y, and z-directions.

Use Infinity to define a geometry extending to infinity in both directions along an axis.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Constraint: greater than or equal to 0
  • Required field

# Bounds

Object definition through minimum and maximum coordinate bounds.

min: Values of the x, y, and z coordinates defining the object lower corner.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Required field

max: Values of the x, y, and z coordinates defining the object upper corner.

Type: floating-point number

  • Unit: m, μm (default), or nm
  • Required field

# Frequencies

Definition of the monitor wavelengths/frequencies.

Options:

  • Wavelengths: Specify monitor wavelengths in units of m, μm (default), or nm.
  • Frequencies: Specify monitor frequencies in units of Hz (default) or THz.

Default: Wavelengths

# Enter wavelength/frequency range

Create an evenly spaced list of wavelength/frequency points between a minimum and a maximum value.

min: Minimum wavelength/frequency value.

  • Required field Default: None

max: Maximum wavelength/frequency value.

  • Required field Default: None

number of points: Number of wavelength/frequency points.

  • Required field Default: None

# Custom wavelength/frequency list

Create a custom list of wavelength/frequency points. Click the Edit list button to include, edit, or exclude wavelength/frequency values from the list.

# Downsampling

interval_space: Number of grid step intervals between monitor recordings.

  • If equal to 1, there will be no downsampling.
  • If greater than 1, the step will be applied, but the first and last point of the monitor grid are always included.

Type: integer

  • Unit: unitless
  • Constraint: greater than 0
  • Default: (1, 1, 1)

Note: Colocation is turned off for this monitor since colocated medium property values do not have a physical meaning - they do not correspond to the subpixel-averaged ones.