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

Adding enum encoding AGIPD gain mode

parent cf2ff561
Branches fix/add_JUNGF_webservice_3runs
No related tags found
1 merge request!438Feat/agipd add fixed gain mode to dark notebook
...@@ -49,3 +49,11 @@ class SnowResolution(Enum): ...@@ -49,3 +49,11 @@ class SnowResolution(Enum):
NONE = "none" NONE = "none"
INTERPOLATE = "interpolate" INTERPOLATE = "interpolate"
class AgipdGainMode(Enum):
"""Encoding added to distinguish between adaptive and fixed gain"""
ADAPTIVE_GAIN = 0 # adaptive is default (if gain mode missing in slow data)
FIXED_HIGH_GAIN = 1 # non-zero means fixed gain
FIXED_MEDIUM_GAIN = 2
FIXED_LOW_GAIN = 3
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