PyREx

pyrex.ray_tracing.BasicRayTracePath.z_integral

BasicRayTracePath.z_integral(integrand)

Calculate the numerical integral of the given integrand.

For the integrand as a function of z, the numerical integral is calculated along the ray path.

Parameters
integrandfunction

Function returning the values of the integrand at a given array of values for the depth z.

Returns
float

The value of the numerical integral along the ray path.

PyREx

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

Navigation