IterativeGeneralizedGaussian.__call__

giant.point_spread_functions.gaussians:

IterativeGeneralizedGaussian.__call__(image)

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 (ndarray) – The image the PSF is to be applied to

Returns:

The image after applying the PSF

Return type:

ndarray