transform_coords_fitsmap#

madcubapy.coordinates.transform_coords_fitsmap(ref_fitsmap, target_fitsmap, points, origin=0)[source]#

Transform the pixel coordinates of one or more points between two maps.

Parameters:
ref_fitsmapMadcubaMap or CCDData

Reference map.

target_fitsmapMadcubaMap or CCDData

Map into which the points are transformed.

pointsndarray

Points from ref_fitsmap to transform.

originint, default:0

Origin of the coordinates of the image. 0 for numpy standards, and 1 for FITS standards.

Returns:
new_pointsndarray

Transformed points in the second image.