- craftutils.wrap.psfex.load_psfex_oversampled(model: str | astropy.io.fits.HDUList, x: float, y: float)
Since PSFEx generates a model using basis vectors, with the linear combination dependent on image position, this is used to collapse that into a useable kernel for convolution and insertion purposes. See https://psfex.readthedocs.io/en/latest/Appendices.html This function will return the PSFEx output with the pixel scale of the PSFEx output. To retrieve an image with the same pixel scale as the original science image, use load_psfex() :param model: Path to PSFEx-generated model, as a FITS file (usually ends in .psf); OR HDUList representing the
file.