lsst.meas.modelfit  22.0.1-1-g1b65d06+ec7a19dca5
Public Member Functions | Public Attributes | List of all members
lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin Class Reference
Inheritance diagram for lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin:
lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxForcedPlugin lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin

Public Member Functions

def __init__ (self, config, name, schema)
 
def measure (self, measRecord, exposure)
 
def fail (self, measRecord, error=None)
 

Public Attributes

 sequence
 

Detailed Description

Mixin base class for fitting shapelet approximations to the PSF model

This class does almost all of the work for its two derived classes,
GeneralShapeletPsfApproxSingleFramePlugin and
GeneralShapeletPsfApproxForcedPlugin, which simply adapt it to the
slightly different interfaces for single-frame and forced measurement.  It
in turn delegates its work to the C++ GeneralPsfFitter class; it holds
sequence of these corresponding to different models (generally with
increasing complexity). Each GeneralPsfFitter starts with the result of
the previous one as an input, using GeneralPsfFitter::adapt to hopefully
allow these previous fits to reduce the time spent on the next one.

At present, this plugin does not define any failure flags, which will
almost certainly have to be changed in the future.  So far, however, I
haven't actually seen it fail on any PSFs I've given it, so I'll wait
until we can run on large enough data volumes to see what the actual
failure modes are, instead of trying to guess them in advance.

Definition at line 107 of file psfContinued.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin.__init__ (   self,
  config,
  name,
  schema 
)
Initialize the plugin, creating a sequence of GeneralPsfFitter
instances to do the fitting and MultiShapeletFunctionKey instances to
save the results to a record.

Definition at line 127 of file psfContinued.py.

Member Function Documentation

◆ fail()

def lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin.fail (   self,
  measRecord,
  error = None 
)

◆ measure()

def lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin.measure (   self,
  measRecord,
  exposure 
)
Fit the configured sequence of models the given Exposure's Psf, as
evaluated at measRecord.getCentroid(), then save the results to
measRecord.

Reimplemented in lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin.

Definition at line 141 of file psfContinued.py.

Member Data Documentation

◆ sequence

lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin.sequence

Definition at line 132 of file psfContinued.py.


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