create_differential_wave_port#
- EdbHfss.create_differential_wave_port(positive_primitive_id, positive_points_on_edge, negative_primitive_id, negative_points_on_edge, port_name=None, horizontal_extent_factor=5, vertical_extent_factor=3, pec_launch_width='0.01mm')[source]#
Create a differential wave port.
- Parameters:
- positive_primitive_id
int
,EDBPrimitives
Primitive ID of the positive terminal.
- positive_points_on_edge
list
Coordinate of the point to define the edge terminal. The point must be close to the target edge but not on the two ends of the edge.
- negative_primitive_id
int
,EDBPrimitives
Primitive ID of the negative terminal.
- negative_points_on_edge
list
Coordinate of the point to define the edge terminal. The point must be close to the target edge but not on the two ends of the edge.
- port_name
str
,optional
Name of the port. The default is
None
.- horizontal_extent_factor
int
,float
,optional
Horizontal extent factor. The default value is
5
.- vertical_extent_factor
int
,float
,optional
Vertical extent factor. The default value is
3
.- pec_launch_width
str
,optional
Launch Width of PEC. The default value is
"0.01mm"
.
- positive_primitive_id
- Returns:
tuple
The tuple contains: (port_name, pyedb.dotnet.edb_core.edb_data.sources.ExcitationDifferential).
Examples
>>> edb.hfss.create_differential_wave_port(0, ["-50mm", "-0mm"], 1, ["-50mm", "-0.2mm"])