Definition at line 694 of file tests.py.
◆ setUp()
def lsst.meas.base.tests.TransformTestCase.setUp |
( |
|
self | ) |
|
|
inherited |
◆ tearDown()
def lsst.meas.base.tests.TransformTestCase.tearDown |
( |
|
self | ) |
|
|
inherited |
◆ testRegistration()
def lsst.meas.base.tests.TransformTestCase.testRegistration |
( |
|
self | ) |
|
|
inherited |
Test that the transformation is appropriately registered with the relevant measurement algorithms.
Definition at line 645 of file tests.py.
◆ testTransform()
def lsst.meas.base.tests.TransformTestCase.testTransform |
( |
|
self, |
|
|
|
baseNames = None |
|
) |
| |
|
inherited |
Test the operation of the transformation on a catalog containing random data.
We check that:
* An appropriate exception is raised on an attempt to transform between catalogs with different
numbers of rows;
* Otherwise, all appropriate conversions are properly appled and that flags have been propagated.
The `baseNames` argument requires some explanation. This should be an iterable of the leading parts of
the field names for each measurement; that is, everything that appears before `_flux`, `_flag`, etc.
In the simple case of a single measurement per plugin, this is simply equal to `self.name` (thus
measurements are stored as `self.name + "_flux"`, etc). More generally, the developer may specify
whatever iterable they require. For example, to handle multiple apertures, we could have
`(self.name + "_0", self.name + "_1", ...)`.
@param[in] baseNames Iterable of the initial parts of measurement field names.
Definition at line 615 of file tests.py.
◆ algorithmClass
lsst.meas.base.tests.TransformTestCase.algorithmClass = None |
|
staticinherited |
◆ calexp
lsst.meas.base.tests.TransformTestCase.calexp |
|
inherited |
◆ controlClass
lsst.meas.base.tests.TransformTestCase.controlClass = None |
|
staticinherited |
◆ flagNames
tuple lsst.meas.base.tests.TransformTestCase.flagNames = ("flag",) |
|
staticinherited |
◆ forcedPlugins
tuple lsst.meas.base.tests.TransformTestCase.forcedPlugins = () |
|
staticinherited |
◆ name
string lsst.meas.base.tests.TransformTestCase.name = "MeasurementTransformTest" |
|
staticinherited |
◆ singleFramePlugins
tuple lsst.meas.base.tests.TransformTestCase.singleFramePlugins = () |
|
staticinherited |
◆ transformClass
lsst.meas.base.tests.TransformTestCase.transformClass = None |
|
staticinherited |
The documentation for this class was generated from the following file: