PointSpreadFunction#
- class lsst.images.psfs.PointSpreadFunction#
Bases:
ABCBase class for point-spread function models.
Attributes Summary
The region where this PSF model is valid.
Bounding box of all images returned by
compute_kernel_image.Methods Summary
compute_kernel_image(*, x, y)Evaluate the PSF model into an image suitable for convolution.
compute_stellar_bbox(*, x, y)Return the bounding box of the image that would be returned by
compute_stellar_image.compute_stellar_image(*, x, y)Evaluate the PSF model into an image suitable for comparison with the image of an astrophysical point source.
from_legacy(legacy_psf, bounds)Make a PSF object from a legacy
lsst.afw.detection.Psfinstance.Convert to a legacy
lsst.afw.detection.Psf, if possible.Attributes Documentation
- bounds#
The region where this PSF model is valid.
- kernel_bbox#
Bounding box of all images returned by
compute_kernel_image.
Methods Documentation
- abstract compute_kernel_image(*, x, y)#
Evaluate the PSF model into an image suitable for convolution.
- abstract compute_stellar_bbox(*, x, y)#
Return the bounding box of the image that would be returned by
compute_stellar_image.- Parameters:
- Returns:
The bounding box of the image that would be returned by
compute_stellar_imageat the given point.- Return type:
- abstract compute_stellar_image(*, x, y)#
Evaluate the PSF model into an image suitable for comparison with the image of an astrophysical point source.
- classmethod from_legacy(legacy_psf, bounds)#
Make a PSF object from a legacy
lsst.afw.detection.Psfinstance.- Parameters:
- Returns:
The converted PSF object.
- Return type:
Notes
This base class method is a factory dispatch function that automatically selects the right
PointSpreadFunctionsubclass to use. When that is already known, a subclassfrom_legacymethod can be called instead.
- to_legacy()#
Convert to a legacy
lsst.afw.detection.Psf, if possible.- Return type: