PyREx

pyrex.custom.layered_ice.ray_tracing.LayeredRayTracer

class pyrex.custom.layered_ice.ray_tracing.LayeredRayTracer(from_point, to_point, ice_model)

Class for calculating the ray solutions in layered ice.

Calculates paths among the ice layers up to a maximum number of allowed reflections. 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.

LayeredRayTracePath

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

max_reflectionsint

The maximum number of reflections allowed in a solution path.

solution_class

Class for representing a single ray solution in layered ice.

exists
solutions

Methods

solution_class

alias of pyrex.custom.layered_ice.ray_tracing.LayeredRayTracePath

solution_sorting

PyREx

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

Navigation