After renormalizing the vectors, angulardistance computes the angular distance using in general, or when and are almost aligned.
If (resp. ) is a single vector, while (resp. ) is a list of vectors, then the result is a list of distances (resp. ).
If both and are lists of vector of the same length, then the result is a list of distances .
nside=8 |
pix2vec_ring, nside, lindgen(nside2npix(nside)), vpix |
mollview, angulardistance( vpix, [1,1,1]) |
will plot the angular distance between the Healpix pixels center for Nside=8 , and the vector
Version 3.83, 2024-11-13