cardinal_points

pygrin.pygrin.cardinal_points(n_0, pitch, length, offset=0)[source]

Cardinal points of a grin lens relative to first surface.

Parameters
  • n_0 – index of refraction at center of grin lens [unitless]

  • pitch – pitch or period of the lens [unitless]

  • length – axial length of the lens [mm]

  • offset – float (optional) origin relative to first lens surface

Returns
  • float – location of the front focal point [mm]

  • float – location of the first lens surface [mm]

  • float – location of the first principal plane [mm]

  • float – location of the second principal plane [mm]

  • float – location of the second lens surface [mm]

  • float – location of the back focal point [mm]