# EME Field Monitor

Monitor that records the electromagnetic field propagated by the EME solver (EMEFieldMonitor). The field is reconstructed from the modal expansion, for each excitation of the two ports.

# 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

# Field Components

fields: Collection of field components to store in the monitor.

Options: select one or more of

  • Ex
  • Ey
  • Ez
  • Hx
  • Hy
  • Hz

Default: [Ex, Ey, Ez, Hx, Hy, Hz]

# Wavelengths/Frequencies

freqs: Simulation wavelengths/frequencies at which the monitor records. The monitor can only record at the wavelengths defined in Wavelengths; use the selector to record only a subset of them.

Default: all simulation wavelengths

# Number of Modes

num_modes: Maximum number of modes for the monitor to record. For the EME field monitor, this refers to the number of modes at each port and cannot exceed the largest number of modes of the two ports. Leave empty to record all modes.

Type: integer

  • Unit: unitless
  • Constraint: greater than or equal to 0
  • Default: None (record all modes)

# 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)

# Number of Sweep Indices

num_sweep: Maximum number of EME Sweep indices to record. Cannot exceed the number of sweep indices of the simulation. Leave empty to record all sweep indices; lower it to reduce stored data when running a sweep.

Type: integer

  • Unit: unitless
  • Constraint: greater than or equal to 0
  • Default: 1

# Colocate Fields

colocate: Toggle whether fields should be colocated to grid cell boundaries (i.e. primal grid nodes).

Options:

  • False: Fields will NOT be colocated to grid cell boundaries.
  • True: Fields will be colocated to grid cell boundaries.

Default: True

# Use Colocated Integration

use_colocated_integration: Only takes effect when colocate is False. If True, flux, dot products, and overlap integrals still use fields interpolated to grid cell boundaries (colocated), even though the field data is stored at native Yee grid positions.

Options:

  • False
  • True

Default: True