QuantityAttributeMixin¶
- 
class lsst.validate.base.QuantityAttributeMixin[source]¶
- Bases: - object- Mixin with common attributes for classes that wrap an - astropy.units.Quantity.- Subclasses must have a self._quantity attribute that is an - astropy.units.Quantity,- str,- bool, or- None(only numeric values are astropy quantities).- Attributes Summary - latex_unit- Units as a LaTeX string, wrapped in - $.- quantity- Value of the datum ( - astropy.units.Quantity,- str,- bool,- None).- unit- Read-only - astropy.units.Unitof the- quantity.- unit_str- Read-only - astropy.units.Unit-compatible- strindicating units of- quantity.- Attributes Documentation - 
latex_unit¶
- Units as a LaTeX string, wrapped in - $.
 - 
quantity¶
- Value of the datum ( - astropy.units.Quantity,- str,- bool,- None).
 - 
unit¶
- Read-only - astropy.units.Unitof the- quantity.
 - 
unit_str¶
- Read-only - astropy.units.Unit-compatible- strindicating units of- quantity.
 
-