KernelBasedCallPSF.__call__¶
giant.point_spread_functions.psf_meta
:
- KernelBasedCallPSF.__call__(image)[source]¶
This method generates a kernel and then convolves it with the input image.
The kernel is generated by a call the
generate_kernel()
. The kernel is then applied with border replication to the image either using fourier transforms or a spatial algorithm, whichever is faster.- Parameters
image (numpy.ndarray) – The image the PSF is to be applied to
- Returns
The image after applying the PSF
- Return type
numpy.ndarray