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
b1f66024
Commit
b1f66024
authored
5 years ago
by
Steffen Hauf
Browse files
Options
Downloads
Plain Diff
Add overscan and non-sensitive bad pixel type
See merge request detectors/pycalibration!73
parents
9e6669d3
9c29db0a
No related branches found
No related tags found
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
-18
20 additions, 18 deletions
cal_tools/cal_tools/enums.py
with
20 additions
and
18 deletions
cal_tools/cal_tools/enums.py
+
20
−
18
View file @
b1f66024
...
...
@@ -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
# 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
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