AstroQuantity#

class ctapipe.core.traits.AstroQuantity(physical_type=None, **kwargs)[source]#

Bases: TraitType

A trait containing an astropy.units quantity.

Attributes Summary

info_text

Describes the type of this traitlet.

Methods Summary

validate(obj, value)

Validate input as astropy quantity.

Attributes Documentation

info_text: str#

Describes the type of this traitlet.

Methods Documentation

validate(obj, value)[source]#

Validate input as astropy quantity.