get_angular_separation#

madcubapy.coordinates.get_angular_separation(points, ref_point, fitsmap)[source]#

Get separation between a point or set of points, and a reference pixel in angular units.

Parameters:
pointsndarray

Input point or points.

ref_pointndarray

Reference point.

fitsmapMadcubaMap or CCDData

Map from which to get angular size of each pixel (CDELT1, CDELT2).

Returns:
angular_separationQuantity

Separation between input points and reference point.