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
47f79f00
Commit
47f79f00
authored
4 years ago
by
David Hammer
Browse files
Options
Downloads
Patches
Plain Diff
Adding enum encoding AGIPD gain mode
parent
de94a304
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!438
Feat/agipd add fixed gain mode to dark notebook
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/enums.py
+10
-1
10 additions, 1 deletion
cal_tools/cal_tools/enums.py
with
10 additions
and
1 deletion
cal_tools/cal_tools/enums.py
+
10
−
1
View file @
47f79f00
from
enum
import
Enum
,
IntFlag
from
enum
import
Enum
,
IntEnum
,
IntFlag
class
BadPixels
(
IntFlag
):
...
...
@@ -48,3 +48,12 @@ class SnowResolution(Enum):
"""
NONE
=
"
none
"
INTERPOLATE
=
"
interpolate
"
class
AgipdGainMode
(
IntEnum
):
"""
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
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