Meander#
- class pyedb.libraries.rf_libraries.base_functions.Meander(edb_cell: Edb, pitch: str | float = 0.001, trace_width: str | float = 0.0003, amplitude: str | float = 0.005, num_turns: int = 8, layer: str = 'TOP', net: str = 'SIG')#
Fully-parametric micro-strip meander line.
- Parameters:
- pitch
float,default1mm Vertical spacing between successive meander rows [m].
- trace_width
float,default0.3mm Width of the micro-strip [m].
- amplitude
float,default5mm Horizontal excursion of each U-turn [m].
- num_turns
int,default8 Number of 180° bends.
- layer
str,default“TOP” EDB metal layer.
- net
str,default“SIG” Net name assigned to the trace.
- pitch
Examples
>>> m = Meander(pitch=0.2e-3, trace_width=0.15e-3, amplitude=2e-3, num_turns=4) >>> edb = Edb("meander.aedb") >>> m._pedb = edb >>> m.create() >>> f"{m.analytical_z0:.1f} Ω" '50.1 Ω' >>> m.electrical_length_deg(1e9) 59.8
Methods
Draw the meander in the attached EDB cell and calculate its physical length.
Electrical length of the meander at the specified frequency.