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
c88dca73
Commit
c88dca73
authored
2 years ago
by
Egor Sobolev
Browse files
Options
Downloads
Patches
Plain Diff
Fix comments
parent
9482ed4c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!815
[AGIPD][CORRECT] Add reading of AGIPD number of cells from CONTROL data
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cal_tools/agipdlib.py
+3
-2
3 additions, 2 deletions
src/cal_tools/agipdlib.py
with
3 additions
and
2 deletions
src/cal_tools/agipdlib.py
+
3
−
2
View file @
c88dca73
...
@@ -86,8 +86,9 @@ class AgipdCtrl:
...
@@ -86,8 +86,9 @@ class AgipdCtrl:
ncell
=
self
.
_get_num_cells_ctrl
()
ncell
=
self
.
_get_num_cells_ctrl
()
if
ncell
is
not
None
:
if
ncell
is
not
None
:
return
ncell
return
ncell
# In case of data filtering at DAQ, this function produces
# The method implemented in this function doesn't suit for filtered
# wrong value.
# data. If DAQ filters data and the last cell is removed, the
# function returns wrong value
return
self
.
_get_num_cells_instr
()
return
self
.
_get_num_cells_instr
()
def
_get_acq_rate_ctrl
(
self
)
->
Optional
[
float
]:
def
_get_acq_rate_ctrl
(
self
)
->
Optional
[
float
]:
...
...
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