Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OnlineMID
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
dataAnalysis
OnlineMID
Commits
9b8f749b
"README.md" did not exist on "a2a9d01ae7a0713d57bf4481ebac8e1db02d9882"
Commit
9b8f749b
authored
1 week ago
by
Jakobsen, Mads Bregenholt
Browse files
Options
Downloads
Patches
Plain Diff
better m,essages
parent
726fbe7e
No related branches found
No related tags found
No related merge requests found
Pipeline
#167392
passed
1 week ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py
+2
-2
2 additions, 2 deletions
...es/shared_mem_processor/src/onlinemid_karabo/processor.py
with
2 additions
and
2 deletions
karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py
+
2
−
2
View file @
9b8f749b
...
@@ -311,7 +311,7 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
...
@@ -311,7 +311,7 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
myGroupName
=
self
.
get
(
'
deviceId
'
)[
-
2
:]
myGroupName
=
self
.
get
(
'
deviceId
'
)[
-
2
:]
for
count
in
range
(
97
):
for
count
in
range
(
100
):
my_detector_data_list
=
list
()
my_detector_data_list
=
list
()
q
=
0.1
+
0.08
*
math
.
sin
(
0.1
*
count
)
q
=
0.1
+
0.08
*
math
.
sin
(
0.1
*
count
)
...
@@ -348,7 +348,7 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
...
@@ -348,7 +348,7 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
def
handle_detector_data_list
(
self
,
train_id
,
detector_data_list
,
numPixelPerGainStage
=
None
):
def
handle_detector_data_list
(
self
,
train_id
,
detector_data_list
,
numPixelPerGainStage
=
None
):
message
=
f
"
handle
detector data
list of length
{
len
(
detector_data_list
)
}
from modules
{
[
pair
[
0
]
for
pair
in
detector_data_list
]
}
"
message
=
f
"
processing
detector data
from modules
{
[
pair
[
0
]
for
pair
in
detector_data_list
]
}
of shape
{
[
pair
[
1
].
shape
for
pair
in
detector_data_list
]
}
"
self
.
periodic_output
.
log
(
self
.
log
.
INFO
,
message
)
self
.
periodic_output
.
log
(
self
.
log
.
INFO
,
message
)
# time_to_handle_list_0 = time.perf_counter()
# time_to_handle_list_0 = time.perf_counter()
...
...
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