tp_to_lb

ssapy.utils.tp_to_lb(t, p)[source][source]

Convert theta-phi-like coordinates to lb-like coordinates.

Here ‘theta-phi’ coordinates refers to the system where theta is the angle between zenith and the point in question, and phi is the corresponding azimuthal angle.

This just sets b = pi - theta and renames phi -> lb. Everything is in radians.