reproject_faster

grizli.utils.reproject_faster(input_hdu, output, pad=10, **kwargs)[source]

Speed up reproject module with array slices of the input image

Parameters:
input_hdu : ImageHDU

Input image HDU to reproject.

output : WCS or Header

Output frame definition.

pad : int

Pixel padding on slices cut from the input_hdu.

kwargs : dict

Arguments passed through to reproject_interp. For example, order='nearest-neighbor'.

Returns:
reprojected : ndarray

Reprojected data from input_hdu.

footprint : ndarray

Footprint of the input array in the output frame.

Notes

reproject' is an astropy-compatible module that can be installed with `pip. See https://reproject.readthedocs.io.