half_pixel_scale

grizli.utils.half_pixel_scale(wcs)[source]

Create a new WCS with half the pixel scale of another that can be block-averaged 2x2

Parameters
wcsWCS

Input WCS

Returns
half_wcsWCS

New WCS with smaller pixels