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.

Map#

class ctapipe.core.container.Map[source]#

Bases: defaultdict

A dictionary of sub-containers that can be added to a Container. This may be used e.g. to store a set of identical sub-Containers (e.g. indexed by tel_id or algorithm name).

Methods Summary

as_dict([recursive, flatten, add_prefix, ...])

reset([recursive])

Calls all Container.reset for all values in the Map

Methods Documentation

as_dict(recursive=False, flatten=False, add_prefix=False, add_key=False)[source]#
reset(recursive=True)[source]#

Calls all Container.reset for all values in the Map