Specification

class lsst.validate.drp.base.Specification(name, value, units, bandpasses=None, dependencies=None)[source]

Bases: lsst.validate.drp.base.JsonSerializationMixin

A specification level or threshold associated with a Metric.

Parameters:

name : str

Name of the specification level for a metric. LPM-17 uses ‘design’, ‘minimum’ and ‘stretch’.

value : float

The specification threshold level.

bandpasses : list, optional

A list of bandpass names, if the specification level is dependent on the bandpass.

dependencies : dict

A dictionary of named Datum values that must be known when making a measurement against a specification level. Dependencies can be accessed as attributes of the specification object.

Attributes Summary

astropy_quanitity Datum as an astropy Quantity.
astropy_units Astropy unit object.
datum Representation of this Specification as a lsst.validate.drp.base.Datum.
json
latex_units Units as a LateX string, wrapped in $.

Attributes Documentation

astropy_quanitity

Datum as an astropy Quantity.

astropy_units

Astropy unit object.

datum

Representation of this Specification as a lsst.validate.drp.base.Datum.

json
latex_units

Units as a LateX string, wrapped in $.