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_fitsmap
MadcubaMaporCCDData Reference map.
- target_fitsmap
MadcubaMaporCCDData Map into which the points are transformed.
- points
ndarray Points from ref_fitsmap to transform.
- origin
int, default:0 Origin of the coordinates of the image. 0 for numpy standards, and 1 for FITS standards.
- ref_fitsmap
- Returns:
- new_points
ndarray Transformed points in the second image.
- new_points