diff --git a/cal_tools/cal_tools/enums.py b/cal_tools/cal_tools/enums.py index dd1de9505c47a5f6c9d3b8389237e327160e3d45..0e30568a4683839b1c171d6d8b1bb28611db26c5 100644 --- a/cal_tools/cal_tools/enums.py +++ b/cal_tools/cal_tools/enums.py @@ -5,24 +5,24 @@ class BadPixels(Enum): """ The European XFEL Bad Pixel Encoding """ - 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 + OFFSET_OUT_OF_THRESHOLD = 0b00000000000000000001 # bit 1 + NOISE_OUT_OF_THRESHOLD = 0b00000000000000000010 # bit 2 + OFFSET_NOISE_EVAL_ERROR = 0b00000000000000000100 # bit 3 + NO_DARK_DATA = 0b00000000000000001000 # bit 4 + CI_GAIN_OF_OF_THRESHOLD = 0b00000000000000010000 # bit 5 + CI_LINEAR_DEVIATION = 0b00000000000000100000 # bit 6 + CI_EVAL_ERROR = 0b00000000000001000000 # bit 7 + FF_GAIN_EVAL_ERROR = 0b00000000000010000000 # bit 8 + FF_GAIN_DEVIATION = 0b00000000000100000000 # bit 9 + FF_NO_ENTRIES = 0b00000000001000000000 # bit 10 + CI2_EVAL_ERROR = 0b00000000010000000000 # bit 11 + VALUE_IS_NAN = 0b00000000100000000000 # bit 12 + VALUE_OUT_OF_RANGE = 0b00000001000000000000 # bit 13 + GAIN_THRESHOLDING_ERROR = 0b00000010000000000000 # bit 14 + DATA_STD_IS_ZERO = 0b00000100000000000000 # bit 15 + ASIC_STD_BELOW_NOISE = 0b00001000000000000000 # bit 16 + INTERPOLATED = 0b00010000000000000000 # bit 17 + NOISY_ADC = 0b00100000000000000000 # bit 18 + OVERSCAN = 0b01000000000000000000 # bit 19 + NON_SENSITIVE = 0b10000000000000000000 # bit 20