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
|
Transform a SourceCatalog containing raw measurements to calibrated form. More...
Public Member Functions | |
def | __init__ |
Initialize TransformTask. More... | |
def | getSchemaCatalogs |
Return a dict containing an empty catalog representative of this task's output. More... | |
def | run |
Transform raw source measurements to calibrated quantities. More... | |
Public Attributes | |
outputDataset | |
mapper | |
transforms | |
Static Public Attributes | |
ConfigClass = TransformConfig | |
Static Private Attributes | |
string | _DefaultName = "transform" |
Transform a SourceCatalog containing raw measurements to calibrated form.
Given a set of measurement algorithms with their associated configuration, the table of source measurements they have produced, and information about an associated WCS and calibration, transform the raw measurement output to a calibrated form.
Transformations are defined on a per-measurement-plugin basis. In addition, a configurable set of fields may be simply copied from the input to the output catalog.
This task operates on an input SourceCatalog and returns a BaseCatalog containing the transformed results. It requires that the caller supply information on the configuration of the measurement task which produced the input data as well as the world coordinate system and calibration under which the transformation will take place. It provides no functionality for reading or writing data from a Butler: rather, per-dataset-type command line tasks are provided to obtain the appropriate information from a Butler (or elsewhere) and then delegate to this task.
Initialize TransformTask.
[in] | measConfig | Configuration for the measurement task which produced the measurments being transformed. |
[in] | inputSchema | The schema of the input catalog. |
[in] | outputDataset | The butler dataset type of the output catalog. |
[in] | *args | Passed through to pipeBase.Task.__init__() |
[in] | *kwargs | Passed through to pipeBase.Task.__init__() |
Transform raw source measurements to calibrated quantities.
[in] | inputCat | SourceCatalog of sources to transform. |
[in] | wcs | The world coordinate system under which transformations will take place. |
[in] | calib | The calibration under which transformations will take place. |
Definition at line 54 of file transformMeasurement.py.
def lsst.pipe.tasks.transformMeasurement.TransformTask.__init__ | ( | self, | |
measConfig, | |||
inputSchema, | |||
outputDataset, | |||
args, | |||
kwargs | |||
) |
Initialize TransformTask.
[in] | measConfig | Configuration for the measurement task which produced the measurments being transformed. |
[in] | inputSchema | The schema of the input catalog. |
[in] | outputDataset | The butler dataset type of the output catalog. |
[in] | *args | Passed through to pipeBase.Task.__init__() |
[in] | *kwargs | Passed through to pipeBase.Task.__init__() |
Definition at line 97 of file transformMeasurement.py.
def lsst.pipe.tasks.transformMeasurement.TransformTask.getSchemaCatalogs | ( | self | ) |
Return a dict containing an empty catalog representative of this task's output.
Definition at line 126 of file transformMeasurement.py.
def lsst.pipe.tasks.transformMeasurement.TransformTask.run | ( | self, | |
inputCat, | |||
wcs, | |||
calib | |||
) |
Transform raw source measurements to calibrated quantities.
[in] | inputCat | SourceCatalog of sources to transform. |
[in] | wcs | The world coordinate system under which transformations will take place. |
[in] | calib | The calibration under which transformations will take place. |
Definition at line 131 of file transformMeasurement.py.
|
staticprivate |
Definition at line 95 of file transformMeasurement.py.
|
static |
Definition at line 94 of file transformMeasurement.py.
lsst.pipe.tasks.transformMeasurement.TransformTask.mapper |
Definition at line 114 of file transformMeasurement.py.
lsst.pipe.tasks.transformMeasurement.TransformTask.outputDataset |
Definition at line 111 of file transformMeasurement.py.
lsst.pipe.tasks.transformMeasurement.TransformTask.transforms |
Definition at line 120 of file transformMeasurement.py.