kqcircuits.elements.meander
- class kqcircuits.elements.meander.Meander[source]
Bases:
ElementThe PCell declaration for a meandering waveguide.
Defined by two points, total length and number of meanders.
The
start_pointandend_pointcan be moved in GUI using the “Move”-tool. Alternatively, if a list of[x, y]coordinates is given forstart_pointandend_point, the GUI markers will not be shown. The latter is useful for code-generated cells that cannot be edited in the GUI.By default, the number of meanders is automatically chosen to minimize the area taken by bounding box of the meander. Uses the same bending radius as the underlying waveguide. Equidistant airbridges can be placed in the meander using
n_bridgesparameter.
start_point (Shape) - Start, default=
-600,0end_point (Shape) - End, default=
600,0length (Double) - Length, default=
3000, unit=μmmeanders (Int) - Number of meanders (non-positive means automatic), default=
-1n_bridges (Int) - Number of bridges, default=
0meander_direction (Int) - Direction of first bend, +1 or -1, default=
1ground_grid_in_trace (Boolean) - Add ground grid also to the waveguide, default=
False