# DirectionalCouplerPcell

class aluvia.all.DirectionalCouplerPcell(*args, **kwargs)

  Directional Coupler.

  Views

  class Layout(*args, **kwargs)
    Parameters:
      inp_length: float and number > 0

        Length of the S-bends [um]

      inp_separation: float and number > 0

        Separation of the S-bends [um]

      length: float and number > 0

        Length of the Coupling section [um]

      separation: float and number > 0

        Gap of the Coupler [um]

      width: float and number > 0

        Width of the waveguides

  Name | Type | Position | Angle | Waveguide Template | Inclination
  --- | --- | --- | --- | --- | ---
  in0 | Optical | (0.0, 0.0) | 180.0 | WG_TMPL | 0.0
  in1 | Optical | (0.0, 10.6) | 180.0 | WG_TMPL | 0.0
  out1 | Optical | (70.0, 10.6) | 0.0 | WG_TMPL | 0.0
  out0 | Optical | (70.0, 0.0) | 0.0 | WG_TMPL | 0.0

      from aluvia import technology
      from aluvia.all import DirectionalCouplerPcell

      lo = DirectionalCouplerPcell().Layout()
      lo.visualize(annotate=True)