powered by
Computes the midpoint on the celestial sphere between two coordinate sets by averaging Cartesian unit-sphere positions and re-projecting.
calculate_midpoint_z(coords1, coords2)
List with theta, phi, z, z_bar, omega_conformal, nL, nR, nX
List with theta, phi, omega_conformal (and optionally nL, nR, nX)
c1 <- convert_LRX_to_celestial(10, 5, 3) c2 <- convert_LRX_to_celestial(1, 1, 2) mid <- calculate_midpoint_z(c1, c2) mid$theta
Run the code above in your browser using DataLab