lsst.validate.drp¶
The lsst.validate.drp module provides utilities for measuring and plotting Key Performance Metrics (KPMs) on processed LSST data.
Contributing¶
lsst.validate.drp is developed at https://github.com/lsst/validate_drp.
You can find Jira issues for this module under the validate_drp component.
Python API reference¶
lsst.validate.drp Package¶
lsst.validate.drp.validate Module¶
Functions¶
  | 
Plot AM1, AM2, AM3, PA1 plus related informational plots.  | 
  | 
|
  | 
|
  | 
Main entrypoint from   | 
  | 
Main executable for the case where there is just one filter.  | 
lsst.validate.drp.util Module¶
Functions¶
  | 
Compute the average declination from a catalog of measurements.  | 
  | 
Calculate average RA, Dec from input lists using spherical geometry.  | 
  | 
Calculate the average right ascension and declination from a catalog.  | 
  | 
Compute the average right ascension from a catalog of measurements.  | 
  | 
Returns a list of dataIds consisting of every combination of visit & ccd for each filter.  | 
  | 
Construct a comprehensive runList for processCcd.py.  | 
  | 
Retrieve a list of all dataIds in a repo.  | 
  | 
Calculate ellipticity from second moments.  | 
  | 
Calculate the ellipticity of the Shapes in a catalog from the 2nd moments.  | 
  | 
Calculate the ellipticty of shape from its moments.  | 
  | 
Return the key in a dataId that’s referring to the CCD or moral equivalent.  | 
  | 
Load data IDs, magnitude range, and expected metrics from a yaml file.  | 
  | 
Load configuration parameters from a yaml file.  | 
  | 
Load run list from a YAML file.  | 
Compute the median real ellipticty residuals from a catalog of measurements.  | 
|
Compute the median imaginary ellipticty residuals from a catalog of measurements.  | 
|
Compute the median ellipticty residuals from a catalog of measurements.  | 
|
  | 
Calculate the RMS between an array of coordinates and a reference (mean) position.  | 
  | 
Calculate the RMS for RA, Dec for a set of observations an object.  | 
  | 
Construct an int that encodes raft, sensor coordinates.  | 
  | 
Generate a base prefix for plots based on the repo name.  | 
  | 
Calculate distance on the surface of a unit sphere.  | 
lsst.validate.drp.matchedVisitMetricsTask Module¶
Classes¶
  | 
Subclass of TaskRunner for MatchedVisitMetrics  | 
  | 
An alternate command-line driver for the validate_drp metrics.  | 
Class Inheritance Diagram¶
lsst.validate.drp.photerrmodel Module¶
Functions¶
  | 
Model of photometric error for a single visit.  | 
  | 
Fit photometric error model from the LSST Overview paper:  | 
  | 
Returns a serializable analytic photometry error model for a single visit.  | 
lsst.validate.drp.astromerrmodel Module¶
Functions¶
  | 
Calculate expected astrometric uncertainty based on SNR.  | 
  | 
Fit model of astrometric error from the LSST Overview paper:  | 
  | 
Serializable model of astrometry errors across multiple visits.  |