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.

PixelShape#

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

Bases: Enum

Supported Pixel Shapes Enum

Attributes Summary

CIRCLE

HEXAGON

SQUARE

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”.