Commit Graph

75 Commits

Author SHA1 Message Date
babic_a bb93591f00 Fix bug in dataset creation 2020-04-29 15:22:17 +02:00
babic_a 326d900bdb Set all datasets to chunking 2020-04-29 15:21:02 +02:00
babic_a 82c676895f Fix typo 2020-04-29 15:18:12 +02:00
babic_a 5b57610df0 Extend writer with metadata 2020-04-29 15:17:29 +02:00
babic_a bf595870d6 Implement multi frame metadata buffer 2020-04-29 15:04:42 +02:00
babic_a 10cd89e767 Add parameter to buffer more than 1 frame in writer 2020-04-29 14:28:38 +02:00
babic_a dec9b72791 Buffer should be moved in front of writer 2020-04-29 14:26:30 +02:00
babic_a 406c92e3a6 Fix bug in SFWriter 2020-04-29 14:04:40 +02:00
babic_a 53f00b423c Buffering SFWriter 2020-04-29 14:00:25 +02:00
babic_a 709b457e17 Fix FastQueue bugs 2020-04-29 11:10:43 +02:00
babic_a 86be688dc4 Implement fast queue 2020-04-28 21:43:50 +02:00
babic_a 0352edde05 Move detector frame 2020-04-28 21:43:42 +02:00
babic_a 824157f13b Revert writer to image data 2020-04-28 09:06:10 +02:00
babic_a 5788f187ee Revert back to single frame writing 2020-04-27 17:32:00 +02:00
babic_a 59a5edd9eb Add naive buffer implementation 2020-04-27 16:05:21 +02:00
babic_a 9da96be369 Change normal write for direct chunked writing 2020-04-27 14:26:58 +02:00
babic_a 8bc7c8f4f4 Increase current write index 2020-04-27 14:21:39 +02:00
babic_a 44dfe39c2f Adjust SFWriter with tests 2020-04-24 15:06:26 +02:00
babic_a 2033241fee Move sf_writer to sf-buffer 2020-04-24 14:43:32 +02:00
babic_a 537f5995c4 Make the method use common function 2020-04-23 17:39:34 +02:00
babic_a 7250f4180a Renamed config into buffer_config 2020-04-23 09:43:29 +02:00
babic_a 40bdd8e9a2 Moved base buffer config to separate file 2020-04-23 09:41:07 +02:00
babic_a 5294015206 Add test for buffer utils 2020-04-21 20:19:13 +02:00
babic_a 8be4c4db3f Add get path suffixes method to BufferUtils 2020-04-21 20:12:34 +02:00
babic_a 77141a559c Ringbuffer returns nullptr when the buffer is full
This feature will allow us to make a push/pull mechanism for the sf_h5_writer.
All classes using RingBuffer have been updated to maintain the exact same behaviour as before.
2020-04-21 17:25:22 +02:00
babic_a ddcefd584e Add method for reading latest file 2020-04-20 17:47:55 +02:00
babic_a 8927e58b40 Added constant metadata flushing 2020-04-20 17:34:19 +02:00
babic_a f108f54d6e Remove metadata buffering and flushing 2020-04-20 16:53:59 +02:00
babic_a 0171b61e8e Change scalar write for SWMR 2020-04-20 16:36:30 +02:00
babic_a 7117c51202 Remove chunked writing for SWMR 2020-04-20 15:24:16 +02:00
babic_a 980925c17c Start SWMR 2020-04-20 14:50:23 +02:00
babic_a 19476fe2f1 Add CURENT and LATEST 2020-04-20 13:58:15 +02:00
babic_a 54f330315b Send last closed file to LATEST 2020-04-20 13:38:22 +02:00
babic_a 99909bcd10 Add SWMR code 2020-04-20 13:37:51 +02:00
babic_a 4459d2eff6 Move to raw pointers 2020-04-20 12:48:03 +02:00
babic_a cdf2636974 Change shared_ptr for unique_ptr 2020-04-20 10:56:54 +02:00
babic_a 3347d045e3 Fix frame size calculation 2020-04-20 10:13:44 +02:00
babic_a dfe9363197 Fix constructor 2020-04-20 10:10:42 +02:00
babic_a bf881f5468 Add EXTENSION parameter for filename 2020-04-20 10:02:05 +02:00
babic_a 631004a9e4 Implement flush metadata 2020-04-20 09:32:53 +02:00
babic_a c37d4b8aa2 Add flush metadata to close method 2020-04-19 23:40:01 +02:00
babic_a 9f4175bc9d Add implementation of writing scalar metadata 2020-04-19 23:37:02 +02:00
babic_a e13e2aca16 Change function name 2020-04-19 23:13:21 +02:00
babic_a ef78ddb108 Change write metadata signature to pointer 2020-04-19 20:11:44 +02:00
babic_a 59ff1a0543 Add file creation implementation 2020-04-19 19:45:11 +02:00
babic_a e784590a4e Improved FastH5Writer 2020-04-19 19:33:36 +02:00
babic_a 9c4b16f889 Rename to create datasets 2020-04-19 18:29:09 +02:00
babic_a 5bc03f202d A bit of refactoring of FastWriter 2020-04-19 18:25:34 +02:00
babic_a 37bec0fb90 State implementation 2020-04-19 18:08:49 +02:00
babic_a 33c6eec090 Add create image dataset function 2020-04-19 18:00:09 +02:00