lsst.meas.deblender gf9afb8a27f+6b8d8f87aa
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 755 of file baseline.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 764 of file baseline.py.

Member Function Documentation

◆ computeImage()

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

Definition at line 768 of file baseline.py.

Member Data Documentation

◆ cache

lsst.meas.deblender.baseline.CachingPsf.cache

Definition at line 765 of file baseline.py.

◆ psf

lsst.meas.deblender.baseline.CachingPsf.psf

Definition at line 766 of file baseline.py.


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