lsst.meas.base  13.0-26-g0f127ff+5
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.base.tests.AlgorithmTestCase Class Reference
Inheritance diagram for lsst.meas.base.tests.AlgorithmTestCase:

Public Member Functions

def setUpClass (cls)
 
def makeSingleFrameMeasurementConfig (self, plugin=None, dependencies=())
 
def makeSingleFrameMeasurementTask (self, plugin=None, dependencies=(), config=None, schema=None, algMetadata=None)
 
def makeForcedMeasurementConfig (self, plugin=None, dependencies=())
 
def makeForcedMeasurementTask (self, plugin=None, dependencies=(), config=None, refSchema=None, algMetadata=None)
 

Static Public Attributes

int randomSeed = 1234
 

Detailed Description

Definition at line 468 of file tests.py.

Member Function Documentation

◆ makeForcedMeasurementConfig()

def lsst.meas.base.tests.AlgorithmTestCase.makeForcedMeasurementConfig (   self,
  plugin = None,
  dependencies = () 
)
Convenience function to create a Config instance for ForcedMeasurementTask

In addition to the plugins specified in the plugin and dependencies arguments,
the TransformedCentroid and TransformedShape plugins will be run and used as the
Centroid and Shape slots; these simply transform the reference catalog centroid
and shape to the measurement coordinate system.

Definition at line 517 of file tests.py.

◆ makeForcedMeasurementTask()

def lsst.meas.base.tests.AlgorithmTestCase.makeForcedMeasurementTask (   self,
  plugin = None,
  dependencies = (),
  config = None,
  refSchema = None,
  algMetadata = None 
)
Convenience function to create a ForcedMeasurementTask with a simple configuration.

Definition at line 537 of file tests.py.

◆ makeSingleFrameMeasurementConfig()

def lsst.meas.base.tests.AlgorithmTestCase.makeSingleFrameMeasurementConfig (   self,
  plugin = None,
  dependencies = () 
)
Convenience function to create a Config instance for SingleFrameMeasurementTask

The plugin and its dependencies will be the only plugins run, while the Centroid, Shape,
and ModelFlux slots will be set to the truth fields generated by the TestDataset class.

Definition at line 484 of file tests.py.

◆ makeSingleFrameMeasurementTask()

def lsst.meas.base.tests.AlgorithmTestCase.makeSingleFrameMeasurementTask (   self,
  plugin = None,
  dependencies = (),
  config = None,
  schema = None,
  algMetadata = None 
)
Convenience function to create a SingleFrameMeasurementTask with a simple configuration.

Definition at line 502 of file tests.py.

◆ setUpClass()

def lsst.meas.base.tests.AlgorithmTestCase.setUpClass (   cls)

Definition at line 481 of file tests.py.

Member Data Documentation

◆ randomSeed

int lsst.meas.base.tests.AlgorithmTestCase.randomSeed = 1234
static

Definition at line 478 of file tests.py.


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