Map#

class ctapipe.core.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