create_wave_port#
- EdbHfss.create_wave_port(prim_id, point_on_edge, port_name=None, impedance=50, horizontal_extent_factor=5, vertical_extent_factor=3, pec_launch_width='0.01mm')[source]#
Create a wave port.
- Parameters:
- prim_id
int
,Primitive
Primitive ID.
- point_on_edge
list
Coordinate of the point to define the edge terminal. The point must be on the target edge but not on the two ends of the edge.
- port_name
str
,optional
Name of the port. The default is
None
.- impedance
int
,float
,optional
Impedance of the port. The default value is
50
.- 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"
.
- prim_id
- Returns:
tuple
The tuple contains: (Port name, pyedb.dotnet.edb_core.edb_data.sources.Excitation).
Examples
>>> edb.hfss.create_wave_port(0, ["-50mm", "-0mm"])