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_hduImageHDU

Input image HDU to reproject.

outputWCS or Header

Output frame definition.

padint

Pixel padding on slices cut from the input_hdu.

kwargsdict

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

Returns
reprojectedndarray

Reprojected data from input_hdu.

footprintndarray

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.