PyREx

pyrex.ray_tracing.UniformRayTracer

class pyrex.ray_tracing.UniformRayTracer(from_point, to_point, ice_model)

Class for calculating ray solutions in uniform ice.

Calculations performed using straight-line paths. 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_model

The ice model used for the ray tracer.

See also

pyrex.internal_functions.LazyMutableClass

Class with lazy properties which may depend on other class attributes.

UniformRayTracePath

Class for representing a single ray solution 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.

ice

The ice model used for the ray tracer.

solution_class

Class for representing a single ray solution in uniform ice.

exists
expected_solutions
solutions

Methods

solution_class

alias of pyrex.ray_tracing.UniformRayTracePath

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation