Ray.alongΒΆ
-
raytracing.Ray.along(rayTrace, z) This function returns a ray at position z along the ray trace. y and theta are linearly interpolated in between the two closest rays.
Parameters: - rayTrace (list of Ray) β The rayTrace
- z (float) β Position in z where we want the output ray
Returns: ray β A Ray at position z, with y and theta interpolated from the ray trace
Return type: an interpolated Ray
Notes
If the ray at an earlier z is blocked, then the Ray will be blocked too
See also