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 Attributes | Private Member Functions | List of all members
lsst.meas.base.tests.SingleFramePluginTransformSetupHelper Class Reference
Inheritance diagram for lsst.meas.base.tests.SingleFramePluginTransformSetupHelper:

Public Attributes

 control
 
 inputCat
 
 mapper
 
 transform
 
 outputCat
 

Private Member Functions

def _setupTransform
 

Detailed Description

Definition at line 658 of file tests.py.

Member Function Documentation

def lsst.meas.base.tests.SingleFramePluginTransformSetupHelper._setupTransform (   self)
private

Definition at line 659 of file tests.py.

660  def _setupTransform(self):
661  self.control = self.controlClass()
663  # Trick algorithms that depend on the slot centroid or alias into thinking they've been defined;
664  # it doesn't matter for this test since we won't actually use the plugins for anything besides
665  # defining the schema.
666  inputSchema.getAliasMap().set("slot_Centroid", "dummy")
667  inputSchema.getAliasMap().set("slot_Shape", "dummy")
668  self.algorithmClass(self.control, self.name, inputSchema)
669  inputSchema.getAliasMap().erase("slot_Centroid")
670  inputSchema.getAliasMap().erase("slot_Shape")
673  self.transform = self.transformClass(self.control, self.name, self.mapper)
674  self.outputCat = lsst.afw.table.BaseCatalog(self.mapper.getOutputSchema())
675 
A custom container class for records, based on std::vector.
Definition: Catalog.h:94
A mapping between the keys of two Schemas, used to copy data between them.
Definition: SchemaMapper.h:19
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
Definition: fwd.h:55
static Schema makeMinimalSchema()
Return a minimal schema for Source tables and records.
Definition: Source.h:242

Member Data Documentation

lsst.meas.base.tests.SingleFramePluginTransformSetupHelper.control

Definition at line 660 of file tests.py.

lsst.meas.base.tests.SingleFramePluginTransformSetupHelper.inputCat

Definition at line 670 of file tests.py.

lsst.meas.base.tests.SingleFramePluginTransformSetupHelper.mapper

Definition at line 671 of file tests.py.

lsst.meas.base.tests.SingleFramePluginTransformSetupHelper.outputCat

Definition at line 673 of file tests.py.

lsst.meas.base.tests.SingleFramePluginTransformSetupHelper.transform

Definition at line 672 of file tests.py.


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