assert_psfs_equal#
- lsst.images.tests.assert_psfs_equal(psf1, psf2, points=None)#
Compare two PSF objets.
- Parameters:
psf1 (
PointSpreadFunction) – Point-spread function to test.psf2 (
PointSpreadFunction) – The other point-spread function to test.points (
Union[YX[ndarray],XY[ndarray],None], default:None) – Points to evaluate the PSFs at. If not provided, the intersection of the PSF bounding boxes are used to generate points on a grid.
- Returns:
The number of points actually tested.
- Return type: