pixel_to_pixel(wcs_in, wcs_out, *inputs)¶
Transform pixel coordinates in a dataset with a WCS to pixel coordinates in another dataset with a different WCS.
This function is designed to efficiently deal with input pixel arrays that are broadcasted views of smaller arrays, and is compatible with any APE14-compliant WCS.
A WCS object for the original dataset which complies with the high-level shared APE 14 WCS API.
A WCS object for the target dataset which complies with the high-level shared APE 14 WCS API.
- *inputs :
Scalars or arrays giving the pixel coordinates to transform.