tidy3d.plugins.smatrix.Port#
- class Port[source]#
- Bases: - Box- Specifies a port in the scattering matrix. - Parameters:
- center (Tuple[float, float, float] = (0.0, 0.0, 0.0)) β [units = um]. Center of object in x, y, and z. 
- size (Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]) β [units = um]. Size in x, y, and z directions. 
- direction (Literal['+', '-']) β β+β or β-β, defining which direction is considered βinputβ. 
- mode_spec (ModeSpec = ModeSpec(num_modes=1, target_neff=None, num_pml=(0,, 0), filter_pol=None, angle_theta=0.0, angle_phi=0.0, precision='single', bend_radius=None, bend_axis=None, track_freq='central', group_index_step=False, type='ModeSpec')) β Specifies how the mode solver will solve for the modes of the port. 
- name (ConstrainedStrValue) β Unique name for the port. 
 
 - Attributes - Methods - direction#
 - mode_spec#
 - name#
 - __hash__()#
- Hash method.