refraction_render.calcs.FlatNoRefraction¶
-
class
refraction_render.calcs.
FlatNoRefraction
[source]¶ Bases:
refraction_render.calcs.calculators.Calc
Calculator used for calculating rays on a flat earth in no atmosphere.
Methods
__init__
()Initialize FlatNoRefraction object.
solve_ivp
(d, h[, dh, alpha])Solve initial value problem for light rays.
-
solve_ivp
(d, h, dh=None, alpha=None, **kwargs)¶ Solve initial value problem for light rays.
- d: float
maximum distance to solve the light rays.
- h: array_like (n,)
initial height of rays.
- dh: array_like (n,), optional
initial derivatives of the rays.
- alpha: array_like (n,), optional
initial angle of the rays.
- **kwargs: optional
extra arguments which get passed into Fermat equation solver.
-