pyrex.ray_tracing.UniformRayTracePath¶
-
class
pyrex.ray_tracing.
UniformRayTracePath
(parent_tracer, launch_angle, reflections)¶ Class for representing a single ray solution in uniform ice.
Stores parameters of the ray path through uniform ice. 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
- parent_tracerUniformRayTracer
Ray tracer for which this path is a solution.
- launch_anglefloat
Launch angle (radians) of the ray path.
- reflectionsint
Number of reflections made by the ray path at boundaries of the ice.
See also
pyrex.internal_functions.LazyMutableClass
Class with lazy properties which may depend on other class attributes.
UniformRayTracer
Class for calculating ray solutions in uniform ice.
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.
- theta0float
The launch angle of the ray path at from_point.
- ice
The ice model used for the ray tracer.
- directboolean
Whether the ray path is direct (does not reflect).
- emitted_direction
- received_direction
- path_length
- tof
- coordinates
Methods
attenuation
(f[, dz])Calculate the attenuation factor for signal frequencies.
propagate
([signal, polarization])Propagate the signal with optional polarization along the ray path.