InterdigitalCapacitor#
- class pyedb.libraries.rf_libraries.base_functions.InterdigitalCapacitor(edb_cell: Edb | None = None, fingers: int = 8, finger_length: float | str = '0.9mm', finger_width: float | str = '0.08mm', gap: float | str = '0.04mm', comb_gap: float | str = '0.06mm', bus_width: float | str = '0.25mm', layer: str = 'TOP', net_a: str = 'PORT1', net_b: str = 'PORT2')#
Inter-digitated comb capacitor with fully parametric fingers.
All dimensions are stored as native EDB variables so they remain editable inside AEDT after the library cell is imported.
- Parameters:
- fingers
int,default8 Number of finger pairs.
- finger_length
str,default“0.9 mm” Length of each finger (string with units).
- finger_width
str,default“0.08 mm” Width of each finger.
- gap
str,default“0.04 mm” Gap between adjacent fingers.
- comb_gap
str,default“0.06 mm” Gap between the two combs at the open end.
- bus_width
str,default“0.25 mm” Width of the top/bottom bus bars.
- layer
str,default“TOP” Layer on which the capacitor is drawn.
- net_a
str,default“PORT1” Net for the bottom comb.
- net_b
str,default“PORT2” Net for the top comb.
- fingers
Examples
>>> idc = InterdigitalCapacitor(fingers=10, finger_length="0.5mm", gap="0.03mm") >>> edb = Edb("idc.aedb") >>> idc._pedb = edb >>> idc.create() >>> f"{idc.capacitance_pf:.2f} pF" '0.74 pF'
Methods
Draw the two bus bars and interleaved fingers.
Attributes