PyREx

pyrex.custom.layered_ice.LayeredRayTracePath

class pyrex.custom.layered_ice.LayeredRayTracePath(parent_tracer, paths)

Class for representing a single ray solution in layered ice.

Stores parameters of the ray path along the layers of ice traversed. Most methods dispatch to the matching methods of the layers and combine the results appropriately. 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_tracerLayeredRayTracer

Ray tracer for which this path is a solution.

pathsarray_like

Array of path objects corresponding to the ice layers in the order of traversal.

See also

pyrex.internal_functions.LazyMutableClass

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

LayeredRayTracer

Class for calculating the ray solutions 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.

emitted_direction
received_direction
path_length
tof
coordinates

Methods

attenuation(f, *args, **kwargs)

Calculate the attenuation factor for signal frequencies.

propagate([signal, polarization])

Propagate the signal with optional polarization along the ray path.

PyREx

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

Navigation