class picazzo3.fibcoup.base.FiberCouplerGrating(*args, **kwargs)

Base class for fiber couplers which combine a grating on top of a socket.

The socket is the piece of waveguide, taper or slab on which the grating rests. The grating couples light between the plane (the socket) and the out-of-plane direction, to a fiber, lens or free space.

This cell should be used such that the inclination and angle of the port match the direction of peak transmission at the center wavelength specified in the Caphe model, when light is incident from the vertical (through vertical_in) and couples to the out port

             *  "vertical_in"
inclination   / *
            _/  _*  _   _
     "in" _| |_| |_| |_| |_  ---> "out"

socket: PCell and WgSocket, optional

socket of the fiber coupler

grating: PCell, optional

grating of this fiber coupler

inclination: float, optional

out-of-plane angle of the grating coupler

cell_instances: _PCellInstanceDict, optional

name: optional

The unique name of the pcell



grating_transformation: GenericNoDistortTransform, optional

view_name: str, optional

The name of the view

socket_length: float and number > 0, optional

length of the straight waveguide socket

socket_transformation: GenericNoDistortTransform, optional

grids_per_unit: locked

Number of grid cells per design unit

units_per_grid: locked

Ratio of grid cell and design unit

grid: float and number > 0, locked

design grid. Extracted by default from TECH.METRICS.GRID

unit: float and number > 0, locked

design unit. Extracted by default from TECH.METRICS.UNIT