|
lsst.meas.deblender g262e1987ae+baaf5f70dd
|
Public Member Functions | |
| __init__ (self, psf) | |
| computeImage (self, cx, cy) | |
Public Attributes | |
| dict | cache = {} |
| psf = psf | |
Cache the PSF models In the PSF fitting code, we request PSF models for all peaks near the one being fit. This was turning out to be quite expensive in some cases. Here, we cache the PSF models to bring the cost down closer to O(N) rather than O(N^2).
Definition at line 760 of file baseline.py.
| lsst.meas.deblender.baseline.CachingPsf.__init__ | ( | self, | |
| psf ) |
Definition at line 769 of file baseline.py.
| lsst.meas.deblender.baseline.CachingPsf.computeImage | ( | self, | |
| cx, | |||
| cy ) |
Definition at line 773 of file baseline.py.
| dict lsst.meas.deblender.baseline.CachingPsf.cache = {} |
Definition at line 770 of file baseline.py.
| lsst.meas.deblender.baseline.CachingPsf.psf = psf |
Definition at line 771 of file baseline.py.