mxpic.components.composites.SptTree#
Optical splitting tree composite layouts.
SplittingTree#
- class mxpic.components.composites.SptTree.SplittingTree(ybranch=None, output_number=16, bend_radius=10, output_pitch=None, show_pins=False)#
Bases:
objectBinary splitter tree built from repeated Y-branch cells.
- Parameters:
ybranch (Any, optional) – Y-branch object with a
cellattribute anda1,b1, andb2pins. If omitted, a simple box-based Y-branch is generated.output_number (int, optional) – Number of output channels. Values are coerced to the nearest lower power of two when needed.
bend_radius (int, optional) – Bend radius used to route between splitter levels.
output_pitch (Any, optional) – Output channel pitch in microns. If omitted, the Y-branch output pitch is used.
show_pins (bool, optional) – Show Nazca pin stubs in the generated layout.
- cell#
Generated splitting tree layout cell.
- Type:
nazca.Cell
- generate_gds()#
Generate the gds of splitting tree.