lsst.meas.deblender  22.0.1-3-g496fd5d+0d5e66bb0e
Public Member Functions | Public Attributes | List of all members
lsst.meas.deblender.baseline.CachingPsf Class Reference

Public Member Functions

def __init__ (self, psf)
 
def computeImage (self, cx, cy)
 

Public Attributes

 cache
 
 psf
 

Detailed Description

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 756 of file baseline.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.deblender.baseline.CachingPsf.__init__ (   self,
  psf 
)

Definition at line 765 of file baseline.py.

Member Function Documentation

◆ computeImage()

def lsst.meas.deblender.baseline.CachingPsf.computeImage (   self,
  cx,
  cy 
)

Definition at line 769 of file baseline.py.

Member Data Documentation

◆ cache

lsst.meas.deblender.baseline.CachingPsf.cache

Definition at line 766 of file baseline.py.

◆ psf

lsst.meas.deblender.baseline.CachingPsf.psf

Definition at line 767 of file baseline.py.


The documentation for this class was generated from the following file: