LSSTApplications  17.0+11,17.0+34,17.0+56,17.0+57,17.0+59,17.0+7,17.0-1-g377950a+33,17.0.1-1-g114240f+2,17.0.1-1-g4d4fbc4+28,17.0.1-1-g55520dc+49,17.0.1-1-g5f4ed7e+52,17.0.1-1-g6dd7d69+17,17.0.1-1-g8de6c91+11,17.0.1-1-gb9095d2+7,17.0.1-1-ge9fec5e+5,17.0.1-1-gf4e0155+55,17.0.1-1-gfc65f5f+50,17.0.1-1-gfc6fb1f+20,17.0.1-10-g87f9f3f+1,17.0.1-11-ge9de802+16,17.0.1-16-ga14f7d5c+4,17.0.1-17-gc79d625+1,17.0.1-17-gdae4c4a+8,17.0.1-2-g26618f5+29,17.0.1-2-g54f2ebc+9,17.0.1-2-gf403422+1,17.0.1-20-g2ca2f74+6,17.0.1-23-gf3eadeb7+1,17.0.1-3-g7e86b59+39,17.0.1-3-gb5ca14a,17.0.1-3-gd08d533+40,17.0.1-30-g596af8797,17.0.1-4-g59d126d+4,17.0.1-4-gc69c472+5,17.0.1-6-g5afd9b9+4,17.0.1-7-g35889ee+1,17.0.1-7-gc7c8782+18,17.0.1-9-gc4bbfb2+3,w.2019.22
LSSTDataManagementBasePackage
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin Class Reference
Inheritance diagram for lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin:
lsst.meas.base.sfm.SingleFramePlugin lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxMixin lsst.meas.base.baseMeasurement.BaseMeasurementPlugin lsst.meas.base.pluginsBase.BasePlugin

Public Member Functions

def __init__ (self, config, name, schema, metadata)
 
def measure (self, measRecord, exposure)
 
def fail (self, measRecord, error=None)
 
def measureN (self, measCat, exposure)
 
def getExecutionOrder (cls)
 
def getLogName (self)
 

Static Public Member Functions

def getExecutionOrder ()
 
def getTransformClass ()
 

Public Attributes

 config
 
 name
 
 logName
 
 sequence
 

Static Public Attributes

 ConfigClass = GeneralShapeletPsfApproxSingleFrameConfig
 
 registry = PluginRegistry(SingleFramePluginConfig)
 
float CENTROID_ORDER = 0.0
 
float SHAPE_ORDER = 1.0
 
float FLUX_ORDER = 2.0
 
float APCORR_ORDER = 3.0
 
float DEFAULT_CATALOGCALCULATION = 4.0
 

Detailed Description

Minimal subclass of GeneralShapeletPsfApproxMixin to conform to the
single-frame measurement API.

This class simply provides __init__ and measure methods that matched the
SingleFramePlugin signatures and delegate to the
GeneralShapeletPsfApproxMixin's implementations.

Definition at line 201 of file psfContinued.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin.__init__ (   self,
  config,
  name,
  schema,
  metadata 
)

Definition at line 215 of file psfContinued.py.

215  def __init__(self, config, name, schema, metadata):
216  GeneralShapeletPsfApproxMixin.__init__(self, config, name, schema)
217  lsst.meas.base.SingleFramePlugin.__init__(self, config, name, schema,
218  metadata)
219 
def __init__(self, minimum, dataRange, Q)

Member Function Documentation

◆ fail()

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

Definition at line 223 of file psfContinued.py.

223  def fail(self, measRecord, error=None):
224  GeneralShapeletPsfApproxMixin.fail(self, measRecord, error)
225 
226 

◆ getExecutionOrder() [1/2]

def lsst.meas.base.pluginsBase.BasePlugin.getExecutionOrder (   cls)
inherited
Get the relative execution order of this plugin.

Must be reimplemented as a class method by concrete derived classes.

Definition at line 121 of file pluginsBase.py.

121  def getExecutionOrder(cls):
122  """Get the relative execution order of this plugin.
123 
124  Must be reimplemented as a class method by concrete derived classes.
125  """
126  raise NotImplementedError("All plugins must implement getExecutionOrder()")
127 

◆ getExecutionOrder() [2/2]

def lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin.getExecutionOrder ( )
static

Definition at line 212 of file psfContinued.py.

212  def getExecutionOrder():
213  return 1.0
214 

◆ getLogName()

def lsst.meas.base.pluginsBase.BasePlugin.getLogName (   self)
inherited

Definition at line 134 of file pluginsBase.py.

134  def getLogName(self):
135  return self.logName
136 

◆ getTransformClass()

def lsst.meas.base.pluginsBase.BasePlugin.getTransformClass ( )
staticinherited
Get the measurement transformation appropriate to this plugin.

This returns a subclass of `transforms.MeasurementTransform`, which
may be instantiated with details of the algorithm configuration and
then called with information about calibration and WCS to convert from
raw measurement quantities to calibrated units. Calibrated data is
then provided in a separate output table.

Notes
-----
By default, we copy everything from the input to the output without
transformation.

Definition at line 169 of file pluginsBase.py.

169  def getTransformClass():
170  """Get the measurement transformation appropriate to this plugin.
171 
172  This returns a subclass of `transforms.MeasurementTransform`, which
173  may be instantiated with details of the algorithm configuration and
174  then called with information about calibration and WCS to convert from
175  raw measurement quantities to calibrated units. Calibrated data is
176  then provided in a separate output table.
177 
178  Notes
179  -----
180  By default, we copy everything from the input to the output without
181  transformation.
182  """
183  return PassThroughTransform
184 

◆ measure()

def lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin.measure (   self,
  measRecord,
  exposure 
)

Definition at line 220 of file psfContinued.py.

220  def measure(self, measRecord, exposure):
221  GeneralShapeletPsfApproxMixin.measure(self, measRecord, exposure)
222 
def measure(mi, x, y, size, statistic, stats)
Definition: fringe.py:357

◆ measureN()

def lsst.meas.base.sfm.SingleFramePlugin.measureN (   self,
  measCat,
  exposure 
)
inherited
Measure the properties of blended sources on a single image.

This operates on all members of a blend family at once. The image may
be from a single epoch, or it may be a coadd.

Parameters
----------
measCat : `lsst.afw.table.SourceCatalog`
    Catalog describing the objects (and only those objects) being
    measured. Previously-measured quantities will be retrieved from
    here, and it will be updated in-place with the outputs of this
    plugin.
exposure : `lsst.afw.image.ExposureF`
    The pixel data to be measured, together with the associated PSF,
    WCS, etc. All other sources in the image should have been replaced
    by noise according to deblender outputs.

Notes
-----
Derived classes that do not implement ``measureN`` should just inherit
this disabled version.  Derived classes that do implement ``measureN``
should additionally add a bool doMeasureN config field to their config
class to signal that measureN-mode is available.

Definition at line 103 of file sfm.py.

103  def measureN(self, measCat, exposure):
104  """Measure the properties of blended sources on a single image.
105 
106  This operates on all members of a blend family at once. The image may
107  be from a single epoch, or it may be a coadd.
108 
109  Parameters
110  ----------
111  measCat : `lsst.afw.table.SourceCatalog`
112  Catalog describing the objects (and only those objects) being
113  measured. Previously-measured quantities will be retrieved from
114  here, and it will be updated in-place with the outputs of this
115  plugin.
116  exposure : `lsst.afw.image.ExposureF`
117  The pixel data to be measured, together with the associated PSF,
118  WCS, etc. All other sources in the image should have been replaced
119  by noise according to deblender outputs.
120 
121  Notes
122  -----
123  Derived classes that do not implement ``measureN`` should just inherit
124  this disabled version. Derived classes that do implement ``measureN``
125  should additionally add a bool doMeasureN config field to their config
126  class to signal that measureN-mode is available.
127  """
128  raise NotImplementedError()
129 
130 

Member Data Documentation

◆ APCORR_ORDER

float lsst.meas.base.pluginsBase.BasePlugin.APCORR_ORDER = 3.0
staticinherited

Definition at line 98 of file pluginsBase.py.

◆ CENTROID_ORDER

float lsst.meas.base.pluginsBase.BasePlugin.CENTROID_ORDER = 0.0
staticinherited

Definition at line 72 of file pluginsBase.py.

◆ config

lsst.meas.base.pluginsBase.BasePlugin.config
inherited

Definition at line 130 of file pluginsBase.py.

◆ ConfigClass

lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin.ConfigClass = GeneralShapeletPsfApproxSingleFrameConfig
static

Definition at line 209 of file psfContinued.py.

◆ DEFAULT_CATALOGCALCULATION

float lsst.meas.base.pluginsBase.BasePlugin.DEFAULT_CATALOGCALCULATION = 4.0
staticinherited

Definition at line 108 of file pluginsBase.py.

◆ FLUX_ORDER

float lsst.meas.base.pluginsBase.BasePlugin.FLUX_ORDER = 2.0
staticinherited

Definition at line 89 of file pluginsBase.py.

◆ logName

lsst.meas.base.pluginsBase.BasePlugin.logName
inherited

Definition at line 132 of file pluginsBase.py.

◆ name

lsst.meas.base.pluginsBase.BasePlugin.name
inherited

Definition at line 131 of file pluginsBase.py.

◆ registry

lsst.meas.base.sfm.SingleFramePlugin.registry = PluginRegistry(SingleFramePluginConfig)
staticinherited

Definition at line 76 of file sfm.py.

◆ sequence

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

Definition at line 132 of file psfContinued.py.

◆ SHAPE_ORDER

float lsst.meas.base.pluginsBase.BasePlugin.SHAPE_ORDER = 1.0
staticinherited

Definition at line 80 of file pluginsBase.py.


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