Commit Graph

106 Commits

Author SHA1 Message Date
babic_a 1bab686b12 Create general group with detector_name inside 2020-06-30 10:53:29 +02:00
babic_a a14b30b5ac Calculate data offset for the image buffer 2020-06-22 11:14:41 +02:00
babic_a 0c40d0b4bc Extract detector name from provided path 2020-06-19 16:11:58 +02:00
babic_a ea462fc1c9 Add missing include 2020-06-19 14:37:22 +02:00
babic_a 545f433f90 Make writer step aware 2020-06-19 14:35:56 +02:00
babic_a eca5c33719 Extract metadata to function 2020-06-19 13:36:44 +02:00
babic_a 23242fbb9d Add device name to JFWriter 2020-06-19 11:41:50 +02:00
babic_a ae1757b0cc Fix for creating intermediate groups 2020-06-19 10:44:40 +02:00
babic_a e730b0cab3 Add detector name to datasets to mimic the old style 2020-06-19 10:36:38 +02:00
babic_a 68e2193beb Reset pulse_id to remove artifacts in final file
Since the buffer does not get zeroed out in each iteration,
the wrong pulse_id can be written to the final file if no
packets for a specific pulse_id was received.
2020-06-17 14:22:42 +02:00
babic_a 1999c895b1 Add pulse_id alignment with step 2020-06-10 12:14:24 +02:00
babic_a 4cf9080f47 Adjust writer to handle less than 100 hz 2020-06-10 11:50:29 +02:00
babic_a 3d35de427d Start writer transformation 2020-06-09 10:10:07 +02:00
babic_a d876cd0e7b Add check for n_pulses 2020-06-04 13:26:38 +02:00
babic_a ed0b78252e Add checks for pulse_id ranges and pulse_id_step 2020-06-04 13:19:50 +02:00
babic_a 42c8f57de8 Add function to calculate n_pulses in range with step 2020-06-04 12:57:39 +02:00
babic_a 047ffb0dd6 Add pulse_id step to writer 2020-06-04 12:26:00 +02:00
babic_a 07dcbb3b2e Small improvements 2020-06-04 12:08:14 +02:00
babic_a 422b599b38 Rename core_config to buffer_config namespace 2020-06-04 11:59:05 +02:00
babic_a b3fc52e250 Shorten name of n_recv_packets 2020-06-04 10:24:40 +02:00
babic_a a70faa55b5 Making the buffer reader nice 2020-06-04 09:41:40 +02:00
babic_a 436a3c43d2 Move configuration closer to writer 2020-06-04 09:33:03 +02:00
babic_a 9dddef455d Move assembly buffer config to general 2020-06-03 21:41:22 +02:00
babic_a 1c0d6973a6 Name statistics correctly 2020-06-03 21:37:10 +02:00
babic_a 17865e01b0 Merge remote-tracking branch 'origin/master' 2020-06-03 21:21:58 +02:00
babic_a 25e56300f2 Add bunch_id slot reservation 2020-06-03 21:21:29 +02:00
babic_a 4b33cf7841 Order variables in the same order for better readability 2020-06-03 14:50:51 +02:00
babic_a 0fcec1c808 Add memory order relaxed 2020-06-03 14:47:59 +02:00
Dmitry Ozerov 7be41c8ed4 additional parameter for sf_writer - total number of modules to retrieve from buffer, to be able to test with smaller detectors 2020-06-03 12:58:27 +02:00
babic_a 9c32529638 Make block start and stop pulse_id more readable 2020-06-02 18:12:13 +02:00
babic_a 1af9d10683 Reverted back to non chunk writer 2020-06-02 17:52:38 +02:00
babic_a acd14f67c6 Fix bug in image assembler 2020-06-02 17:48:23 +02:00
babic_a e0ffd88e29 Add reconstruction block start and stop pulse_id 2020-06-02 17:37:20 +02:00
babic_a 4a5f5c1fc1 Fix writer implementation 2020-06-02 17:31:05 +02:00
babic_a ec0f763b70 Change writer to do direct chunk write 2020-06-02 17:27:00 +02:00
babic_a 477efdddbe Finished implementation of ImageAssembler 2020-06-02 15:44:51 +02:00
babic_a 4c49d4611f Rename variable to new meta standard 2020-06-02 14:41:01 +02:00
babic_a 37d3794b81 Improve the loop a bit 2020-06-02 14:29:59 +02:00
babic_a e5157979ca Change bunch_id to uint64_t 2020-06-02 14:06:47 +02:00
babic_a b1cba5633f Partial implementation of image verification 2020-06-02 14:05:32 +02:00
babic_a 6a7d2730f9 Fix offsets in ImageAssembler 2020-06-02 13:39:06 +02:00
babic_a 2a0e90bd92 Image assembly process improvements 2020-06-02 13:22:40 +02:00
babic_a a80c0f1c3c Finish slot_id calculation 2020-06-02 13:05:19 +02:00
babic_a c300a8dea6 Renaming parameters 2020-06-02 13:00:06 +02:00
babic_a 3c428bae5c Remove unused code 2020-06-02 12:58:38 +02:00
babic_a a01eae4042 Use proper atomic functions 2020-06-02 12:58:28 +02:00
babic_a 6ab6c03aa6 Move to using block_id instead of slot_id 2020-06-02 12:55:08 +02:00
babic_a 68bf6e988e Rename struct according to terminology 2020-06-02 10:54:07 +02:00
babic_a 7ca8630681 Internalize file closing 2020-05-27 18:53:13 +02:00
babic_a 4f044d6b69 Add check if file is already closed 2020-05-27 18:43:24 +02:00