diff --git a/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py b/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py index 605690b2174583a05b57a97ff48226f2d6941fd7..6dc8ecf656511bc3bf6b9b9d39945c6bd214b2d9 100644 --- a/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py +++ b/karabo_devices/shared_mem_processor/src/onlinemid_karabo/processor.py @@ -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(