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.ForcedPluginTransformSetupHelper Class Reference
Inheritance diagram for lsst.meas.base.tests.ForcedPluginTransformSetupHelper:

Public Attributes

 control
 
 inputCat
 
 mapper
 
 transform
 
 outputCat
 

Private Member Functions

def _setupTransform
 

Detailed Description

Definition at line 676 of file tests.py.

Member Function Documentation

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

Definition at line 677 of file tests.py.

678  def _setupTransform(self):
679  self.control = self.controlClass()
682  # Trick algorithms that depend on the slot centroid or alias into thinking they've been defined;
683  # it doesn't matter for this test since we won't actually use the plugins for anything besides
684  # defining the schema.
685  inputMapper.editOutputSchema().getAliasMap().set("slot_Centroid", "dummy")
686  inputMapper.editOutputSchema().getAliasMap().set("slot_Shape", "dummy")
687  self.algorithmClass(self.control, self.name, inputMapper, lsst.daf.base.PropertyList())
688  inputMapper.editOutputSchema().getAliasMap().erase("slot_Centroid")
689  inputMapper.editOutputSchema().getAliasMap().erase("slot_Shape")
690  self.inputCat = lsst.afw.table.SourceCatalog(inputMapper.getOutputSchema())
691  self.mapper = lsst.afw.table.SchemaMapper(inputMapper.getOutputSchema())
692  self.transform = self.transformClass(self.control, self.name, self.mapper)
693  self.outputCat = lsst.afw.table.BaseCatalog(self.mapper.getOutputSchema())
694 
A custom container class for records, based on std::vector.
Definition: Catalog.h:94
Class for storing ordered metadata with comments.
Definition: PropertyList.h:81
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.ForcedPluginTransformSetupHelper.control

Definition at line 678 of file tests.py.

lsst.meas.base.tests.ForcedPluginTransformSetupHelper.inputCat

Definition at line 689 of file tests.py.

lsst.meas.base.tests.ForcedPluginTransformSetupHelper.mapper

Definition at line 690 of file tests.py.

lsst.meas.base.tests.ForcedPluginTransformSetupHelper.outputCat

Definition at line 692 of file tests.py.

lsst.meas.base.tests.ForcedPluginTransformSetupHelper.transform

Definition at line 691 of file tests.py.


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