full_meridional_curve

pygrin.pygrin.full_meridional_curve(n_0, pitch, length, z_obj, r_obj, r_lens, npoints=40)[source]

Points on a path from an object to image through a GRIN lens.

The light ray starts at (z_obj,r_obj) and hits the front surface of the front face of the GRIN lens at (0,r_lens).

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]

  • z_obj – axial position of the object [mm]

  • r_obj – radius at which the ray leaves the object [mm]

  • r_lens – radius at which the ray hits the lens [mm]

  • npoints – integer (optional) number of points in the returned curve

Returns
  • z – array axial points along path from object to image [mm]

  • r – array radial points along path from object to image [mm]