# RingRes_1x1Pcell

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

  1x1 Ring Resonator.

  Views

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

        Bend radius of the ring

      guide_width: float and number > 0

        Width of the straight waveguide

      path_width: float and number > 0

        Width of the ring

      separation: float and number > 0

        Gap between straight and ring

      straight_height: float and Real, number and number >= 0

        Height of the straight in the ring

      straight_length: float and Real, number and number >= 0

        Length of the straight in the ring

      total_length: float and number > 0

        Total Path Length of the ring

      use_total_length: ( bool, bool_, bool or int )

        Use total_length parameter?

  Name | Type | Position | Angle | Waveguide Template | Inclination
  --- | --- | --- | --- | --- | ---
  in0 | Optical | (0.0, 0.0) | 180.0 | WG_TMPL | 0.0
  out0 | Optical | (300.6, 0.0) | 0.0 | WG_TMPL | 0.0

      from aluvia import technology
      from aluvia.all import RingRes_1x1Pcell

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