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
e4c9b126
Commit
e4c9b126
authored
4 years ago
by
David Hammer
Browse files
Options
Downloads
Patches
Plain Diff
Use IntEnum for convenience later
parent
49d31851
No related branches found
No related tags found
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
+2
-2
2 additions, 2 deletions
cal_tools/cal_tools/enums.py
with
2 additions
and
2 deletions
cal_tools/cal_tools/enums.py
+
2
−
2
View file @
e4c9b126
from
enum
import
Enum
from
enum
import
Enum
,
IntEnum
class
BadPixels
(
Enum
):
...
...
@@ -50,7 +50,7 @@ class SnowResolution(Enum):
INTERPOLATE
=
"
interpolate
"
class
AgipdGainMode
(
Enum
):
class
AgipdGainMode
(
Int
Enum
):
"""
Encoding added to distinguish between adaptive and fixed gain
"""
ADAPTIVE_GAIN
=
0
# adaptive is default (if gain mode missing in slow data)
...
...
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