meridional_curve
- pygrin.pygrin.meridional_curve(n_0, pitch, length, r_i, theta_i, npoints=40)[source]
Points on path of a ray passing through a grin 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]
r_i – radial distance that ray hits grin lens [mm]
theta_i – angle of incidence [radians]
npoints – integer number of points in the returned curve
- Returns:
z –
- array
axial points along the curve inside the grin lens [mm]
- r: array
radial points along the curve inside the grin lens [mm]