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 | Public Attributes | Static Private Member Functions | List of all members
lsst.meas.base.transforms.MeasurementTransform Class Reference

Base class for measurement transformations. More...

Inheritance diagram for lsst.meas.base.transforms.MeasurementTransform:
lsst.meas.base.transforms.NullTransform lsst.meas.base.transforms.PassThroughTransform lsst.meas.base.transforms.SimpleCentroidTransform

Public Member Functions

def __init__
 
def __call__
 

Public Attributes

 name
 
 config
 

Static Private Member Functions

def _checkCatalogSize
 

Detailed Description

Base class for measurement transformations.

Create transformations by deriving from this class, implementing __call__() and (optionally) augmenting __init__().

Definition at line 54 of file transforms.py.

Constructor & Destructor Documentation

def lsst.meas.base.transforms.MeasurementTransform.__init__ (   self,
  config,
  name,
  mapper 
)

Member Function Documentation

def lsst.meas.base.transforms.MeasurementTransform.__call__ (   self,
  inputCatalog,
  outputCatalog,
  wcs,
  calib 
)

Definition at line 65 of file transforms.py.

65 
66  def __call__(self, inputCatalog, outputCatalog, wcs, calib):
67  raise NotImplementedError()
def lsst.meas.base.transforms.MeasurementTransform._checkCatalogSize (   cat1,
  cat2 
)
staticprivate

Definition at line 69 of file transforms.py.

69 
70  def _checkCatalogSize(cat1, cat2):
71  if len(cat1) != len(cat2):
72  raise LengthError("Catalog size mismatch")
73 

Member Data Documentation

lsst.meas.base.transforms.MeasurementTransform.config

Definition at line 63 of file transforms.py.

lsst.meas.base.transforms.MeasurementTransform.name

Definition at line 62 of file transforms.py.


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