mxpic.components.composites.SptTree#
SplittingTree#
- class mxpic.components.composites.SptTree.SplittingTree(ybranch=None, output_number=16, bend_radius=10, output_pitch=None, show_pins=False)#
Bases:
objectClass for generating splitting tree.
- Paras:
- ybranch [class] (Default None)
length (Default: 28) Length of the ybranch
width (Default: 2) Pitch between two output waveguides
w_wg (Default: 0.45) Width of output waveguide
- cell (Default: box)
a1 [Pin] Input waveguide
b1 [Pin] Output waveguide1
b2 [Pin] Output waveguide2
- output_number [-] (Default: 16)
Number of output channels(Need to be 2^N)
- bend_radius [um] (Default: 10)
Bend radius used to connect the different layer of Y branch
- output_pitch [um] (Default: None)
Can define the pitch of output channel(If ==None, then pitch=self.width, which is the minimum pitch)
- generate_gds()#
Generate the gds of splitting tree.