skyllh.i3.utils package

Submodules

skyllh.i3.utils.analysis module

skyllh.i3.utils.coords module

IceCube specific coordinate utility functions.

skyllh.i3.utils.coords.azi_to_ra_transform(azi, mjd)

Rotates the given IceCube azimuth angles into right-ascention angles for the given MJD times. This function is IceCube specific and assumes that the detector is located excently at the South Pole and neglects all astronomical effects like Earth’s precession.

Parameters:
  • azi (instance of numpy.ndarray) – The array with the azimuth angles.

  • mjd (instance of numpy.ndarray) – The array with the MJD times for each azimuth angle.

Returns:

ra (instance of numpy.ndarray) – The right-ascention values.

skyllh.i3.utils.coords.ra_to_azi_transform(ra, mjd)

Rotates the given right-ascention angles to local IceCube azimuth angles.

Parameters:
  • ra (instance of numpy.ndarray) – The array with the right-ascention angles.

  • mjd (instance of numpy.ndarray) – The array with the MJD times for each right-ascention angle.

Returns:

azi (instance of numpy.ndarray) – The azimuth angle for each right-ascention angle.

skyllh.i3.utils.coords.hor_to_equ_transform(azi, zen, mjd)

Transforms the coordinate from the horizontal system (azimuth, zenith) into the equatorial system (right-ascention, declination) for detector at the South Pole and neglecting all astronomical effects like Earth precession.

Parameters:
Returns:

  • ra (instance of numpy.ndarray) – The right-ascention angle.

  • dec (instance of numpy.ndarray) – The declination angle.