TelescopePatternList

class ctapipe.core.telescope_component.TelescopePatternList(*args)[source]

Bases: collections.UserList

Representation for a list of telescope pattern tuples. This is a helper class used by the Trait TelescopeParameter as its value type

Attributes Summary

tel

access the value per telescope_id, e.g.

Methods Summary

append(value)

Validate and then append a new value

attach_subarray(subarray)

Register a SubarrayDescription so that the user-specified values can be looked up by tel_id.

single_to_pattern(value)

Attributes Documentation

tel

access the value per telescope_id, e.g. param.tel[2]

Methods Documentation

append(value)[source]

Validate and then append a new value

attach_subarray(subarray)[source]

Register a SubarrayDescription so that the user-specified values can be looked up by tel_id. This must be done before using the .tel[x] property

static single_to_pattern(value)[source]