Skip to content
Snippets Groups Projects
Commit e4c9b126 authored by David Hammer's avatar David Hammer
Browse files

Use IntEnum for convenience later

parent 49d31851
No related branches found
No related tags found
1 merge request!438Feat/agipd add fixed gain mode to dark notebook
from enum import Enum
from enum import Enum, IntEnum
class BadPixels(Enum):
......@@ -50,7 +50,7 @@ class SnowResolution(Enum):
INTERPOLATE = "interpolate"
class AgipdGainMode(Enum):
class AgipdGainMode(IntEnum):
"""Encoding added to distinguish between adaptive and fixed gain"""
ADAPTIVE_GAIN = 0 # adaptive is default (if gain mode missing in slow data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment