- class kqcircuits.elements.circular_capacitor.CircularCapacitor¶
The PCell declaration for a circular capacitor.
An outer semi-circular island with an inside circular island. Fixed-length capacitor is supported and different line impedance on each side can be used. Two ports with reference points. The feedline has the same length as the width of the ground gap around the coupler.
Child classes re-define this method to build the PCell.
- classmethod get_sim_ports(simulation)¶
List of RefpointToSimPort objects defining which refpoints should be turned to simulation ports for the given element class
Returns empty list if not implemented for Element subclass. When implementing this method, the best practice is for this method to have no “side effects”, that is all code contained within this method should only serve to derive the list of RefpointToSimPort objects and nothing else: no change in element’s geometry or parameter values.
cls – Element class, this is a class method
simulation – Simulation object where a cell of this element class is placed. Use this argument if you need to decide certain arguments for RefpointToSimPort objects based on simulation’s parameters
List of RefpointToSimPort objects, empty list by default
r_inner (Double) - Radius of the outer edge of the center island (μm), default=
r_outer (Double) - Radius of the external coupler island (μm), default=
swept_angle (Double) - Angle covered by the external island in degrees, default=
outer_island_width (Double) - Width of the external island (μm), default=
ground_gap (Double) - Ground plane padding, default=
a2 (Double) - Non-physical value ‘-1’ means that the default size ‘a’ is used., default=
b2 (Double) - Non-physical value ‘-1’ means that the default size ‘b’ is used., default=
fixed_length (Double) - Fixed length of element, 0 for auto-length, default=