Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
9c29db0a
Commit
9c29db0a
authored
5 years ago
by
Michele Cascella
Browse files
Options
Downloads
Patches
Plain Diff
added bit numbers hint
parent
ac0e2348
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!73
Add overscan and non-sensitive bad pixel type
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/enums.py
+20
-20
20 additions, 20 deletions
cal_tools/cal_tools/enums.py
with
20 additions
and
20 deletions
cal_tools/cal_tools/enums.py
+
20
−
20
View file @
9c29db0a
...
@@ -5,24 +5,24 @@ class BadPixels(Enum):
...
@@ -5,24 +5,24 @@ class BadPixels(Enum):
"""
The European XFEL Bad Pixel Encoding
"""
The European XFEL Bad Pixel Encoding
"""
"""
OFFSET_OUT_OF_THRESHOLD
=
0b00000000000000000001
OFFSET_OUT_OF_THRESHOLD
=
0b00000000000000000001
# bit 1
NOISE_OUT_OF_THRESHOLD
=
0b00000000000000000010
NOISE_OUT_OF_THRESHOLD
=
0b00000000000000000010
# bit 2
OFFSET_NOISE_EVAL_ERROR
=
0b00000000000000000100
OFFSET_NOISE_EVAL_ERROR
=
0b00000000000000000100
# bit 3
NO_DARK_DATA
=
0b00000000000000001000
NO_DARK_DATA
=
0b00000000000000001000
# bit 4
CI_GAIN_OF_OF_THRESHOLD
=
0b00000000000000010000
CI_GAIN_OF_OF_THRESHOLD
=
0b00000000000000010000
# bit 5
CI_LINEAR_DEVIATION
=
0b00000000000000100000
CI_LINEAR_DEVIATION
=
0b00000000000000100000
# bit 6
CI_EVAL_ERROR
=
0b00000000000001000000
CI_EVAL_ERROR
=
0b00000000000001000000
# bit 7
FF_GAIN_EVAL_ERROR
=
0b00000000000010000000
FF_GAIN_EVAL_ERROR
=
0b00000000000010000000
# bit 8
FF_GAIN_DEVIATION
=
0b00000000000100000000
FF_GAIN_DEVIATION
=
0b00000000000100000000
# bit 9
FF_NO_ENTRIES
=
0b00000000001000000000
FF_NO_ENTRIES
=
0b00000000001000000000
# bit 10
CI2_EVAL_ERROR
=
0b00000000010000000000
CI2_EVAL_ERROR
=
0b00000000010000000000
# bit 11
VALUE_IS_NAN
=
0b00000000100000000000
VALUE_IS_NAN
=
0b00000000100000000000
# bit 12
VALUE_OUT_OF_RANGE
=
0b00000001000000000000
VALUE_OUT_OF_RANGE
=
0b00000001000000000000
# bit 13
GAIN_THRESHOLDING_ERROR
=
0b00000010000000000000
GAIN_THRESHOLDING_ERROR
=
0b00000010000000000000
# bit 14
DATA_STD_IS_ZERO
=
0b00000100000000000000
DATA_STD_IS_ZERO
=
0b00000100000000000000
# bit 15
ASIC_STD_BELOW_NOISE
=
0b00001000000000000000
ASIC_STD_BELOW_NOISE
=
0b00001000000000000000
# bit 16
INTERPOLATED
=
0b00010000000000000000
INTERPOLATED
=
0b00010000000000000000
# bit 17
NOISY_ADC
=
0b00100000000000000000
NOISY_ADC
=
0b00100000000000000000
# bit 18
OVERSCAN
=
0b01000000000000000000
OVERSCAN
=
0b01000000000000000000
# bit 19
NON_SENSITIVE
=
0b10000000000000000000
NON_SENSITIVE
=
0b10000000000000000000
# bit 20
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment