PixelShape#

class ctapipe.instrument.PixelShape(value)[source]#

Bases: Enum

Supported Pixel Shapes Enum

Attributes Summary

Methods Summary

from_string(name)

Convert a string representation to the enum value

Attributes Documentation

CIRCLE = 'circle'#
HEXAGON = 'hexagon'#
SQUARE = 'square'#

Methods Documentation

classmethod from_string(name)[source]#

Convert a string representation to the enum value

This function supports abbreviations and for backwards compatibility “rect” as alias for “square”.