mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-17 01:37:13 +02:00
receive multimodule (#65)
* add config files for multimodule receiving * read subfiles with unordered and missing frames * save work debugging * Revert "save work debugging" This reverts commite791992a05
. * Revert "read subfiles with unordered and missing frames" This reverts commit1177fd129d
. * throw when two frames have different frame numbers * write single part RawFile (working beta) * correct total number of frames in master file * add new mythen file with syncd frames * save work * save work for receive multimodule multimodule config results in too much packet loss. needs more debugging. * setup Task Distributiosn/ parallelization programming model * read frames with same frame number * clang-tidy fixes, formatting, add tests * added second receiver * Synchronize between zmq streams and merge frames * improve readability in loop * fix failing tests * add simple test for merge frames --------- Co-authored-by: Bechir <bechir.brahem420@gmail.com> Co-authored-by: Erik Frojdh <erik.frojdh@gmail.com>
This commit is contained in:
@ -44,7 +44,7 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
if (vm.count("port") != 1) {
|
||||
aare::logger::error("file is required");
|
||||
aare::logger::error("port is required");
|
||||
cout << desc << "\n";
|
||||
return 1;
|
||||
}
|
||||
@ -77,9 +77,9 @@ int main(int argc, char **argv) {
|
||||
ZmqHeader header;
|
||||
header.frameNumber = frameidx;
|
||||
header.data = true;
|
||||
header.npixelsx = frame.rows();
|
||||
header.npixelsy = frame.cols();
|
||||
header.dynamicRange = frame.bitdepth();
|
||||
header.shape.row = frame.rows();
|
||||
header.shape.col = frame.cols();
|
||||
header.bitmode = frame.bitdepth();
|
||||
header.size = frame.size();
|
||||
|
||||
sender.send({header, frame});
|
||||
|
Reference in New Issue
Block a user