MatchedVisitMetricsTask¶
-
class
lsst.validate.drp.matchedVisitMetricsTask.MatchedVisitMetricsTask(config=None, name=None, parentTask=None, log=None)¶ Bases:
lsst.pipe.base.CmdLineTaskAn alternate command-line driver for the validate_drp metrics.
MatchedVisitMetricsTask is very much an incomplete CmdLineTask - it uses the usual mechanisms to define its inputs and read them using a Butler, but writes outputs manually to files with a configuration-defined prefix (config.outputPrefix). Because the CmdLineTask machinery always creates an output Butler repository, however, it is necessary to run this task with both an output directory and an output prefix, with the former essentially unused.
The input data IDs passed via the
--idargument should contain the same keys as thewcsdataset (those used by thecalexpdataset plustract). Whenconfig.useJointCalisTrue, thephotoCalibandwcsdatasets are used to calibrate sources; when it isFalse,tractis ignored (but must still be present) and the photometric calibration is retrieved from thecalexpand the sky positions of sources are loaded directly from thesrcdataset (which is used to obtain raw measurmenets in both cases).Methods Summary
run(butler, filterName, output, dataIds)Compute cross-visit metrics for one filter. Methods Documentation
-
run(butler, filterName, output, dataIds)¶ Compute cross-visit metrics for one filter.
Parameters: - butler The initialized butler.
- filterName The filter name to be processed.
- output The output repository to save files to.
- dataIds The butler dataIds to process.
-