MicroStripLine#

class pyedb.libraries.rf_libraries.base_functions.MicroStripLine(edb_cell, layer: str, net: str, x0: float | str = 0.0, y0: float | str = 0.0, length: float | str = '1mm', width: float | str = '0.2mm', angle: float | str = 0.0, freq: float | str | None = None)#

Single-ended micro-strip line with fixed geometry and editable stack-up.

Parameters:
edbobject

EDB application / API handle.

layerstr

Conductor layer on which the trace is drawn.

netstr

Net name assigned to the trace.

x0, y0float

Global start coordinates (mm, m, or whatever length unit is active in AEDT).

lengthfloat

Physical length of the line (same unit as x0/y0).

anglefloat

Rotation angle in degrees (0° = along +X).

freqfloat, optional

Reference frequency (Hz) used to compute the electrical length. If None, electrical_length will be None.

Overview#

create

Create the trace and return its EDB object.

width

length

Physical length of the micro-strip line.

impedance

Accurate characteristic impedance (Ω) for a micro-strip line.

electrical_length

Electrical length in degrees at self.freq.

Import detail#

from pyedb.libraries.rf_libraries.base_functions import MicroStripLine

Property detail#

property MicroStripLine.width#
property MicroStripLine.length: float#

Physical length of the micro-strip line.

property MicroStripLine.impedance: float#

Accurate characteristic impedance (Ω) for a micro-strip line. Valid for 0.05 ≤ w/h ≤ 1000 and 1 ≤ εr ≤ 128. Source: G. Wheeler, E. Hammerstad & Jensen, IEEE-MTT 1980.

property MicroStripLine.electrical_length: float | None#

Electrical length in degrees at self.freq. Returns None if freq is None.

Attribute detail#

MicroStripLine.layer#
MicroStripLine.net#
MicroStripLine.x0#
MicroStripLine.y0#
MicroStripLine.angle#
MicroStripLine.freq = None#
MicroStripLine.substrate#
MicroStripLine.id = None#

Method detail#

MicroStripLine.create() List[float]#

Create the trace and return its EDB object.