KernelBasedApply1DPSF¶
In addition to the methods and attributes from PointSpreadFunction, KernelBasedApply1DPSF implements
the following:
- class giant.point_spread_functions.psf_meta.KernelBasedApply1DPSF[source]¶
- Bases: - PointSpreadFunction- This ABC adds concrete common functionality for applying the initialized PSF to 1D scan lines to - PointSpreadFunction.- The implementation that is shared by most PSFs for 1D scan lines is stored in - apply_1d_sized(). This method, which isn’t part of the actual interface GIANT expects, is used for applying the specified PSF to 1D scan lines if the size of the required kernel is known. Therefore, when implementing method:apply_1d, all you need to do is calculate the required size of the 1D kernel and then dispatch to- apply_1d_sized(). An example of this can be seen in- Gaussian.
Summary of Added/Modified Methods
| Applies the defined PSF using the stored parameters to the 1D image scans provided with a given kernel size. | 
