kqcircuits.elements.waveguide_coplanar_straight
- class kqcircuits.elements.waveguide_coplanar_straight.WaveguideCoplanarStraight[source]
Bases:
Element
The PCell declaration of a straight segment of a coplanar waveguide.
- static add_waveguide_path(element, path: DPath, shape: DPolygon)[source]
Inserts the path and the shape to ‘waveguide_path’ layer. If element.add_metal is True, inserts the shape to ‘base_metal_addition’ layer.
Prefer this function to add path on a waveguide trace.
The path is used only for computing waveguide length and the path width should be zero to not mess up the shapes in ‘waveguide_path’ layer.
- Parameters:
element – An instance of a waveguide coplanar class.
path – The path along the centerline of the waveguide with zero width.
shape – The shape of the waveguide trace.
l (Double) - Length, default=
30
add_metal (Boolean) - Add trace in base metal addition too, default=
False
ground_grid_in_trace (Boolean) - Add ground grid also to the waveguide, default=
False