Function
NumCosmoMathutil_great_circle_distance
Declaration [src]
gdouble
ncm_util_great_circle_distance (
gdouble ra1,
gdouble dec1,
gdouble ra2,
gdouble dec2
)
Description [src]
Compute the great circle distance (or separation, as defined in astropy) between poistion 1 (ra1, dec1) and position 2 (ra2, dec2).
See Great-circle distance, in particular the Vincenty equation (implemented here).
The input coordinates ((ra1, dec1), (ra2, dec2)) must be given in decimal degrees.