PixelShape

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

Bases: enum.Enum

Supported Pixel Shapes Enum

Attributes Summary

CIRCLE

HEXAGON

SQUARE

Methods Summary

from_string(name)

Convert a string represenation to the enum value

Attributes Documentation

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

Methods Documentation

classmethod from_string(name)[source]

Convert a string represenation to the enum value

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