# EME Coefficient Monitor

Monitor that records the expansion coefficients of the EME solution in each cell intersecting the monitor geometry (EMECoefficientMonitor). The coefficients describe how much of each forward and backward mode is present in each cell, for each excitation of the two ports. Useful for diagnosing where coupling and reflections occur inside the device.

# 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

# Coefficient Fields

fields: Collection of coefficient fields to store in the monitor.

Options: select one or more of

  • A: forward mode coefficients.
  • B: backward mode coefficients.

Default: [A, B]

# 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. Cannot exceed the greatest number of modes in any EME cell. Leave empty to record all modes.

Type: integer

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

# 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

# EME Cell Interval

eme_cell_interval_space: Number of EME cells between monitor recordings. If equal to 1, there will be no downsampling. If greater than 1, every Nth cell is recorded along the propagation axis, but the first and last cells are always included. Increase it to reduce stored data.

Type: integer

  • Unit: unitless
  • Constraint: greater than 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