tidy3d.plugins.smatrix.ports.base_terminal.AbstractTerminalPort#
- class AbstractTerminalPort[source]#
Bases:
AbstractBasePort,MicrowaveBaseModelClass representing a single terminal-based port. All terminal ports must provide methods for computing voltage and current. These quantities represent the voltage between the terminals, and the current flowing from one terminal into the other.
- Parameters:
name (str) – Unique name for the port.
Attributes
Injection axis of the port.
nameMethods
compute_current(sim_data)Helper to compute current flowing into the port.
compute_voltage(sim_data)Helper to compute voltage across the port.
to_field_monitors(freqs[, snap_center, grid])DEPRECATED: Monitors used to compute the port voltage and current.
to_monitors(freqs[, snap_center, grid])Monitors used to compute the port voltage and current.
to_source(source_time[, snap_center, grid])Create a current source from a terminal-based port.
- abstract property injection_axis#
Injection axis of the port.
- abstract to_source(source_time, snap_center=None, grid=None, **kwargs)[source]#
Create a current source from a terminal-based port.
- to_field_monitors(freqs, snap_center=None, grid=None)[source]#
DEPRECATED: Monitors used to compute the port voltage and current.