pyrex.ray_tracing.BasicRayTracer¶
-
class
pyrex.ray_tracing.
BasicRayTracer
(from_point, to_point, ice_model=<pyrex.ice_model.AntarcticIce object>, dz=1)¶ Class for calculating the ray-trace solutions between points.
Calculations performed by integrating z-steps of size
dz
. Most properties are lazily evaluated to save on computation time. If any attributes of the class instance are changed, the lazily-evaluated properties will be cleared.- Parameters
- from_pointarray_like
Vector starting point of the ray path.
- to_pointarray_like
Vector ending point of the ray path.
- ice_modeloptional
The ice model used for the ray tracer.
- dzfloat, optional
The z-step (m) to be used for integration of the ray path attributes.
See also
pyrex.internal_functions.LazyMutableClass
Class with lazy properties which may depend on other class attributes.
BasicRayTracePath
Class for representing a single ray-trace solution between points.
Notes
Even more attributes than those listed are available for the class, but are mainly for internal use. These attributes can be found by exploring the source code.
- Attributes
- from_pointndarray
The starting point of the ray path.
- to_pointndarray
The ending point of the ray path.
- ice
The ice model used for the ray tracer.
- dzfloat
The z-step (m) to be used for integration of the ray path attributes.
solution_class
Class for representing a single ray-trace solution between points.
- exists
- expected_solutions
- solutions
Methods
angle_search
(true_r, r_function, min_angle, …)Calculates the angle where r_function (angle) == true_r.
solution_class
alias of
pyrex.ray_tracing.BasicRayTracePath