image_distance

pygrin.pygrin.image_distance(n_0, pitch, length, s)[source]

Image distance for an object.

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]

  • s – distance from front of lens to object [mm]

Returns:

float – the image distance from the back of the lens [mm]