transform_wcs¶
- grizli.utils.transform_wcs(in_wcs, translation=[0.0, 0.0], rotation=0.0, scale=1.0)[source]¶
Update WCS with shift, rotation, & scale
- Parameters
- in_wcs: `~astropy.wcs.WCS`
Input WCS
- translation: [float, float]
xshift & yshift in pixels
- rotation: float
CCW rotation (towards East), radians
- scale: float
Pixel scale factor
- Returns
- out_wcs:
WCS
Modified WCS
- out_wcs: