Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
calng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
calng
Commits
a041a97c
Commit
a041a97c
authored
3 years ago
by
David Hammer
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo, formatting
parent
9e8097bf
No related branches found
No related tags found
2 merge requests
!12
Snapshot: field test deployed version as of end of run 202201
,
!3
Base correction device, CalCat interaction, DSSC and AGIPD devices
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/calng/AgipdCorrection.py
+6
-2
6 additions, 2 deletions
src/calng/AgipdCorrection.py
src/calng/agipd_gpu.py
+1
-1
1 addition, 1 deletion
src/calng/agipd_gpu.py
with
7 additions
and
3 deletions
src/calng/AgipdCorrection.py
+
6
−
2
View file @
a041a97c
...
@@ -500,10 +500,14 @@ class AgipdCorrection(BaseCorrection):
...
@@ -500,10 +500,14 @@ class AgipdCorrection(BaseCorrection):
):
):
self
.
log_status_info
(
"
Updating bad pixel maps based on subset specified
"
)
self
.
log_status_info
(
"
Updating bad pixel maps based on subset specified
"
)
if
any
(
if
any
(
update
.
get
(
f
"
corrections.badPixels.subsetToUse.
{
field
.
name
}
"
,
default
=
False
)
update
.
get
(
f
"
corrections.badPixels.subsetToUse.
{
field
.
name
}
"
,
default
=
False
)
for
field
in
BadPixelValues
for
field
in
BadPixelValues
):
):
self
.
log_status_info
(
"
Some fields reenabled, reloading cached bad pixel constants
"
)
self
.
log_status_info
(
"
Some fields reenabled, reloading cached bad pixel constants
"
)
with
self
.
calcat_friend
.
cached_constants_lock
:
with
self
.
calcat_friend
.
cached_constants_lock
:
for
(
for
(
constant
,
constant
,
...
...
This diff is collapsed.
Click to expand it.
src/calng/agipd_gpu.py
+
1
−
1
View file @
a041a97c
...
@@ -312,7 +312,7 @@ class BadPixelValues(enum.IntFlag):
...
@@ -312,7 +312,7 @@ class BadPixelValues(enum.IntFlag):
NOISE_OUT_OF_THRESHOLD
=
2
**
1
NOISE_OUT_OF_THRESHOLD
=
2
**
1
OFFSET_NOISE_EVAL_ERROR
=
2
**
2
OFFSET_NOISE_EVAL_ERROR
=
2
**
2
NO_DARK_DATA
=
2
**
3
NO_DARK_DATA
=
2
**
3
CI_GAIN_O
F
_OF_THRESHOLD
=
2
**
4
CI_GAIN_O
UT
_OF_THRESHOLD
=
2
**
4
CI_LINEAR_DEVIATION
=
2
**
5
CI_LINEAR_DEVIATION
=
2
**
5
CI_EVAL_ERROR
=
2
**
6
CI_EVAL_ERROR
=
2
**
6
FF_GAIN_EVAL_ERROR
=
2
**
7
FF_GAIN_EVAL_ERROR
=
2
**
7
...
...
This diff is collapsed.
Click to expand it.
David Hammer
@hammerd
mentioned in commit
3566342d
·
2 years ago
mentioned in commit
3566342d
mentioned in commit 3566342d031db1bb435b6430f100afdbaaa6c4bf
Toggle commit list
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