bilby.gw.utils.zenith_azimuth_to_theta_phi

bilby.gw.utils.zenith_azimuth_to_theta_phi(zenith, azimuth, ifos)[source]

Convert from the ‘detector frame’ to the Earth frame.

Parameters:
kappa: float

The zenith angle in the detector frame

eta: float

The azimuthal angle in the detector frame

ifos: list

List of Interferometer objects defining the detector frame

Returns:
theta, phi: float

The zenith and azimuthal angles in the earth frame.