gradient

pygrin.pygrin.gradient(pitch, length)[source]

Gradient of a grin lens based on its pitch and length.

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

  • length – length of grin lens [mm]

Returns:

float – the gradient characterizing the index of refraction profile [1/mm]