Reference¶
-
class
ctapipe.io.metadata.Reference(**kwargs: Any)[source]¶ Bases:
traitlets.traitlets.HasTraitsAll the reference Metadata required for a CTA output file, plus a way to turn it into a dict() for easy addition to the header of a file
Attributes Summary
A trait whose value must be an instance of a specified class.
A trait whose value must be an instance of a specified class.
A trait whose value must be an instance of a specified class.
A trait whose value must be an instance of a specified class.
A trait whose value must be an instance of a specified class.
Methods Summary
from_dict(metadata)to_dict([fits])convert Reference metadata to a flat dict.
Attributes Documentation
-
activity¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
contact¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
instrument¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
process¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
-
product¶ A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
Methods Documentation
-