LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.base.plugins.SingleFrameSkyCoordPlugin Class Reference
Inheritance diagram for lsst.meas.base.plugins.SingleFrameSkyCoordPlugin:

Public Member Functions

def getExecutionOrder
 
def measure
 
def fail
 

Static Public Attributes

 ConfigClass = SingleFrameSkyCoordConfig
 

Detailed Description

A measurement plugin that sets the "coord" field (part of the Source minimal schema)
using the slot centroid and the Wcs attached to the Exposure.

Definition at line 107 of file plugins.py.

Member Function Documentation

def lsst.meas.base.plugins.SingleFrameSkyCoordPlugin.fail (   self,
  measRecord,
  error = None 
)

Definition at line 126 of file plugins.py.

127  def fail(self, measRecord, error=None):
128  # Override fail() to do nothing in the case of an exception: this is not ideal,
129  # but we don't have a place to put failures because we don't allocate any fields.
130  # Should consider fixing as part of DM-1011
131  pass
132 
def lsst.meas.base.plugins.SingleFrameSkyCoordPlugin.getExecutionOrder (   cls)

Definition at line 116 of file plugins.py.

117  def getExecutionOrder(cls):
118  return cls.SHAPE_ORDER
def lsst.meas.base.plugins.SingleFrameSkyCoordPlugin.measure (   self,
  measRecord,
  exposure 
)

Definition at line 119 of file plugins.py.

120  def measure(self, measRecord, exposure):
121  # there should be a base class method for handling this exception. Put this on a later ticket
122  # Also, there should be a python Exception of the appropriate type for this error
123  if not exposure.hasWcs():
124  raise Exception("Wcs not attached to exposure. Required for " + self.name + " algorithm")
125  measRecord.updateCoord(exposure.getWcs())

Member Data Documentation

lsst.meas.base.plugins.SingleFrameSkyCoordPlugin.ConfigClass = SingleFrameSkyCoordConfig
static

Definition at line 113 of file plugins.py.


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