Skip to content
Snippets Groups Projects
Commit 1fb238a7 authored by Jakobsen, Mads Bregenholt's avatar Jakobsen, Mads Bregenholt
Browse files

debug message to find origin of karabo error

parent 112ecf25
No related branches found
No related tags found
No related merge requests found
Pipeline #167373 passed
......@@ -38,7 +38,7 @@ from onlinemid import agipd_module_name_from_mid_agipd_source, hash_from_dict
from onlinexpcsutils import onlinexpcsutils
import runningstats
def preview_schema():
res = Schema()
(
......@@ -314,11 +314,14 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
self.log.INFO("generating sample output")
print("generating sample output")
myGroupName = self.get('deviceId')[-2:]
def generate_data(q):
seconds = time.time()
detectorData = onlinexpcsutils.get_test_data((50, 512, 128), q=q, photonEnergy=self.get('photonEnergy'))
return detectorData
......@@ -354,7 +357,7 @@ class OnlineMIDProcessor(TrainMatcher.TrainMatcher):
def handle_detector_data_list(self, train_id, detector_data_list, numPixelPerGainStage=None):
print("in gandle detector data")
# time_to_handle_list_0 = time.perf_counter()
# self.online_processing_memory, online_output_dict = onlinexpcsutils.compute_xpcs_from_detector_data_list(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment