Commit Graph

251 Commits

Author SHA1 Message Date
babic_a 5cc0948516 Fix tests for writer 2020-06-19 16:12:09 +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 99cb1d55b3 Introduce tests for different steps 2020-06-19 14:35:42 +02:00
babic_a bd50fb010e Change pulse id step to size_t 2020-06-19 13:42:14 +02:00
babic_a eca5c33719 Extract metadata to function 2020-06-19 13:36:44 +02:00
babic_a 69907a3412 Add 50Hz verification of metadata 2020-06-19 11:45:46 +02:00
babic_a 04b0d76edf Adapting tests to device name 2020-06-19 11:42:06 +02:00
babic_a 23242fbb9d Add device name to JFWriter 2020-06-19 11:41:50 +02:00
babic_a 0ab7a97143 Fix block generation logic 2020-06-19 11:33:58 +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 61f06c6df6 Start improving tests for H5 writer 2020-06-16 14:32:08 +02:00
babic_a 3d8b365af2 Shorten names 2020-06-16 14:31:51 +02:00
babic_a 3cf5d2a290 Improved mock by separating into 2 function calls 2020-06-16 14:17:59 +02:00
babic_a d2d42ddf60 Add library to mock blocks 2020-06-16 14:13:49 +02:00
babic_a 1999c895b1 Add pulse_id alignment with step 2020-06-10 12:14:24 +02:00
babic_a ef5d6ff940 Add test to validate pulse_id ranges and steps 2020-06-10 12:00:25 +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 8b3dad95aa Add test stub for reminder 2020-06-04 13:27:37 +02:00
babic_a 7bf383e04c Add test for n_steps verification 2020-06-04 13:26:51 +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 1e786df867 Fix writer tests 2020-06-04 13:16:09 +02:00
babic_a e0d7494870 Add whitespace at the end of the tests 2020-06-04 13:02:22 +02:00
babic_a b61c8c0451 Fix tests after interface change 2020-06-04 13:00:21 +02:00
babic_a c626c0476c Rename tests after class 2020-06-04 12:58:36 +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 46a701e1be Improve const correctness 2020-06-04 12:13:51 +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 29cea6086c Small fixes to sf_writer 2020-06-04 10:06:49 +02:00
babic_a 83e7365105 Adjust Writer to new includes 2020-06-04 10:01:51 +02:00
babic_a 76962bd9f5 Move ImageMetadata block to ImageAssembler.hpp 2020-06-04 10:00:24 +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