ArrayedWaveguideGrating

class awg_designer.all.ArrayedWaveguideGrating

Generic component to compose 2 star couplers and a waveguide array together into an AWG.

To use your own star couplers and/or waveguide arrays in this component, you have to ensure that the input ports of your waveguide array are called in1, in2, … these ports will be connected to the apertures of the input starcoupler. The ports named out1, out2 will be connected to the apertures of the output star couplers.

Parameters:
waveguide_array: PCell, required

Array of waveguides

star_coupler_out: PCell and _Coupler, required

Output star coupler

star_coupler_in: PCell and _Coupler, required

Input star coupler

star_coupler_out_ports: List with type restriction, allowed types: <class ‘str’>

list (in the right order) of the output star coupler port names that are mapped onto ‘out’ ports

star_coupler_in_ports: List with type restriction, allowed types: <class ‘str’>

list (in the right order) of the input star coupler port names that are mapped onto ‘in’ ports

star_coupler_out_arm_ports: List with type restriction, allowed types: <class ‘str’>

list (in the right order) of the output star coupler port names that are connected to the array

star_coupler_in_arm_ports: List with type restriction, allowed types: <class ‘str’>

list (in the right order) of the input star coupler port names that are connected to the array

links: list and List with type restriction, allowed types: [<class ‘collections.abc.Sequence’>]

list of tuples connecting the instances. Format is [(‘inst1:term1’,’inst2:term2’), …]

external_port_names: str

Map of the free instance terms/ports to the names of external terms/ports.Format is a dict {‘inst:term’ : ‘new_term_name’}.If a term/port is not listed, the format instname_portname will be used

child_cells:

dict to create the instances of the child cells.Format is {‘inst_name1’: PCell}

name: String that contains only ISO/IEC 8859-1 (extended ASCII py3) or pure ASCII (py2) characters

The unique name of the pcell

Views

class Layout
Parameters:
view_name: String that contains only alphanumeric characters from the ASCII set or contains _$. ASCII set is extended on PY3.

The name of the view