ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

Activity#

class ctapipe.io.metadata.Activity(**kwargs: Any)[source]#

Bases: HasTraits

Activity (tool) information

Attributes Summary

default_time

id_

A trait for unicode strings.

name

A trait for unicode strings.

software_name

A trait for unicode strings.

software_version

A trait for unicode strings.

start_time

A trait representing a point in Time, as understood by astropy.time.

stop_time

A trait representing a point in Time, as understood by astropy.time.

type_

A trait for unicode strings.

Methods Summary

from_provenance(activity)

construct Activity metadata from existing ActivityProvenance object

Attributes Documentation

default_time#
id_#

A trait for unicode strings.

name#

A trait for unicode strings.

software_name#

A trait for unicode strings.

software_version#

A trait for unicode strings.

start_time#

A trait representing a point in Time, as understood by astropy.time.

stop_time#

A trait representing a point in Time, as understood by astropy.time.

type_#

A trait for unicode strings.

Methods Documentation

classmethod from_provenance(activity)[source]#

construct Activity metadata from existing ActivityProvenance object