def sky_to_absolute(thetaSky, chiSky):
    thetaSky = np.deg2rad(thetaSky)
    chiSky = np.deg2rad(chiSky)
    t1 = (np.sin(thetaSky) * np.sin(chiSky))
    t2 = np.cos(thetaSky)
    t3 = ((- np.sin(thetaSky)) * np.cos(chiSky))
    thetaB = np.arccos(t3)
    sinthB = np.sqrt((1.0 - (t3 ** 2)))
    sinChiB = (t1 / sinthB)
    cosChiB = (t2 / sinthB)
    chiB_preliminary = np.arccos(cosChiB)
    if (np.sign(sinChiB) > 0.0):
        chiB = chiB_preliminary
    else:
        chiB = (- chiB_preliminary)
    return [np.rad2deg(thetaB), np.rad2deg(chiB)]
def sky_to_absolute(thetaSky, chiSky):
    thetaSky = np.deg2rad(thetaSky)
    chiSky = np.deg2rad(chiSky)
    t1 = (np.sin(thetaSky) * np.sin(chiSky))
    t2 = np.cos(thetaSky)
    t3 = ((- np.sin(thetaSky)) * np.cos(chiSky))
    thetaB = np.arccos(t3)
    sinthB = np.sqrt((1.0 - (t3 ** 2)))
    sinChiB = (t1 / sinthB)
    cosChiB = (t2 / sinthB)
    chiB_preliminary = np.arccos(cosChiB)
    if (np.sign(sinChiB) > 0.0):
        chiB = chiB_preliminary
    else:
        chiB = (- chiB_preliminary)
    return [np.rad2deg(thetaB), np.rad2deg(chiB)]