SizedPSF.compare

giant.point_spread_functions.psf_meta:

SizedPSF.compare(other)[source]

For real PSFs, this method generates how well the PSF matches another between 0 and 1, with 1 being a perfect match and 0 being a horrible match.

Typically this is evaluated as the clipped pearson product moment coefficient between the kernels of the 2 psfs.

Parameters:

other (PointSpreadFunction)

Return type:

float