kqcircuits.elements.spiral_capacitor

class kqcircuits.elements.spiral_capacitor.SpiralCapacitor[source]

Bases: Element

The PCell declaration for a spiral capacitor.

can_create_from_shape_impl()[source]

default implementation

build()[source]

Child classes re-define this method to build the PCell.

classmethod get_sim_ports(simulation)[source]

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.

Parameters:
  • 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

Returns:

List of RefpointToSimPort objects, empty list by default

PCell parameters:

  • finger_width2 (Double) - Non-physical value ‘-1’ means that same width is used on both sides., default=-1, unit=μm

  • ground_gap2 (Double) - Non-physical value ‘-1’ means that same gap is used on both sides., default=-1, unit=μm

  • spiral_angle (Double) - Angle of spiral in degrees, default=180, unit=degrees

  • spiral_angle2 (Double) - Non-physical value ‘-1’ means that same angle is used on both sides., default=-1, unit=degrees

  • rotation (Double) - Non-physical value ‘-1’ means that the waveguide points towards the spiral center., default=-1, unit=degrees

  • rotation2 (Double) - Non-physical value ‘-1’ means that the same rotation is used on both sides., default=-1, unit=degrees

  • ground_gap (Double) - Gap between ground and finger, default=10, unit=μm

  • a2 (Double) - Non-physical value ‘-1’ means that the default size ‘a’ is used., default=-1, unit=μm

  • b2 (Double) - Non-physical value ‘-1’ means that the default size ‘b’ is used., default=-1, unit=μm

  • finger_width (Double) - Width of a finger, default=10, unit=μm

  • finger_gap (Double) - Gap between the fingers, default=5, unit=μm

  • _epr_part_reg_fingergmer_layer (Layer) - Layer where EPR partition region ‘fingergmer’ is placed, default=None

  • _epr_part_reg_waveguides_layer (Layer) - Layer where EPR partition region ‘waveguides’ is placed, default=None

../_images/kqcircuits.elements.spiral_capacitor.png