KernelBasedCallPSF

In addition to the methods and attributes from PointSpreadFunction, KernelBasedCallPSF implements the following:

class giant.point_spread_functions.psf_meta.KernelBasedCallPSF[source]

Bases: PointSpreadFunction

This ABC adds concrete common functionality for applying the initialized PSF to 2D images to PointSpreadFunction.

The implementation that is shared by most PSFs for 2D images is stored in __call__(). This method, works by generating a square kernel of the PSF by a call to generate_kernel() and then convolving the kernel with the image. For most PSFs, this form will be used, although a few like Gaussian may have a further optimized call sequence.

Summary of Added/Modified Methods

__call__

This method generates a kernel and then convolves it with the input image.