From ac0e2348e9829852067bec14169c0e4d7db7deac Mon Sep 17 00:00:00 2001
From: Michele Cascella <cascella@exflqr18341.desy.de>
Date: Wed, 5 Jun 2019 16:03:04 +0200
Subject: [PATCH] added oeverscan and non sensitive

---
 cal_tools/cal_tools/enums.py | 38 +++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/cal_tools/cal_tools/enums.py b/cal_tools/cal_tools/enums.py
index 4cd37c946..dd1de9505 100644
--- a/cal_tools/cal_tools/enums.py
+++ b/cal_tools/cal_tools/enums.py
@@ -5,22 +5,24 @@ class BadPixels(Enum):
     """ The European XFEL Bad Pixel Encoding
     """
         
-    OFFSET_OUT_OF_THRESHOLD  = 0b000000000000000001
-    NOISE_OUT_OF_THRESHOLD   = 0b000000000000000010
-    OFFSET_NOISE_EVAL_ERROR  = 0b000000000000000100
-    NO_DARK_DATA             = 0b000000000000001000
-    CI_GAIN_OF_OF_THRESHOLD  = 0b000000000000010000
-    CI_LINEAR_DEVIATION      = 0b000000000000100000
-    CI_EVAL_ERROR            = 0b000000000001000000
-    FF_GAIN_EVAL_ERROR       = 0b000000000010000000
-    FF_GAIN_DEVIATION        = 0b000000000100000000
-    FF_NO_ENTRIES            = 0b000000001000000000
-    CI2_EVAL_ERROR           = 0b000000010000000000
-    VALUE_IS_NAN             = 0b000000100000000000
-    VALUE_OUT_OF_RANGE       = 0b000001000000000000
-    GAIN_THRESHOLDING_ERROR  = 0b000010000000000000
-    DATA_STD_IS_ZERO         = 0b000100000000000000
-    ASIC_STD_BELOW_NOISE     = 0b001000000000000000
-    INTERPOLATED             = 0b010000000000000000
-    NOISY_ADC                = 0b100000000000000000
+    OFFSET_OUT_OF_THRESHOLD  = 0b00000000000000000001
+    NOISE_OUT_OF_THRESHOLD   = 0b00000000000000000010
+    OFFSET_NOISE_EVAL_ERROR  = 0b00000000000000000100
+    NO_DARK_DATA             = 0b00000000000000001000
+    CI_GAIN_OF_OF_THRESHOLD  = 0b00000000000000010000
+    CI_LINEAR_DEVIATION      = 0b00000000000000100000
+    CI_EVAL_ERROR            = 0b00000000000001000000
+    FF_GAIN_EVAL_ERROR       = 0b00000000000010000000
+    FF_GAIN_DEVIATION        = 0b00000000000100000000
+    FF_NO_ENTRIES            = 0b00000000001000000000
+    CI2_EVAL_ERROR           = 0b00000000010000000000
+    VALUE_IS_NAN             = 0b00000000100000000000
+    VALUE_OUT_OF_RANGE       = 0b00000001000000000000
+    GAIN_THRESHOLDING_ERROR  = 0b00000010000000000000
+    DATA_STD_IS_ZERO         = 0b00000100000000000000
+    ASIC_STD_BELOW_NOISE     = 0b00001000000000000000
+    INTERPOLATED             = 0b00010000000000000000
+    NOISY_ADC                = 0b00100000000000000000
+    OVERSCAN                 = 0b01000000000000000000
+    NON_SENSITIVE            = 0b10000000000000000000
 
-- 
GitLab