lb_to_tp

ssapy.utils.lb_to_tp(lb, b)[source][source]

Convert lb-like coordinates to theta-phi 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 theta = pi - b and renames lb -> phi. Everything is in radians.