python_to_fits#

madcubapy.coordinates.python_to_fits(points)[source]#

Simple function to convert one or more points from python coordinates (numpy and matplotlib image) to FITS coordinates.

Parameters:
pointsndarray, tuple, or list.

Input points.

Returns:
fits_pointsndarray

Points converted to fits coordinates.