tidy3d.plugins.smatrix.Port#
- class Port[source]#
Bases:
BoxSpecifies a port in the scattering matrix.
- Parameters:
center (Attribute:
center) –TypeTuple[float, float, float]
Default= (0.0, 0.0, 0.0)
Unitsum
DescriptionCenter of object in x, y, and z.
size (Attribute:
size) –TypeTuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]
DefaultUnitsum
DescriptionSize in x, y, and z directions.
direction (Attribute:
direction) –TypeLiteral[‘+’, ‘-‘]
DefaultDescription’+’ or ‘-’, defining which direction is considered ‘input’.
mode_spec (Attribute:
mode_spec) –TypeModeSpec
Default= ModeSpec(num_modes1, target_neffNone, num_pml(0,, 0), filter_polNone, angle_theta0.0, angle_phi0.0, precision’single’, bend_radiusNone, bend_axisNone, track_freq’central’, group_index_stepFalse, type’ModeSpec’)
DescriptionSpecifies how the mode solver will solve for the modes of the port.
name (Attribute:
name) –TypeConstrainedStrValue
DefaultDescriptionUnique name for the port.
Attributes
Methods
- direction#
- mode_spec#
- name#
- __hash__()#
Hash method.