Bechir Braham 9637d0602f
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 commit e791992a05efd754f93a80c980d17397eb4b6045.

* Revert "read subfiles with unordered and missing frames"

This reverts commit 1177fd129d3690db92e9597ccda62598e5a44d41.

* 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>
2024-05-07 11:06:37 +02:00
2024-02-12 19:00:41 +01:00
2024-05-07 11:06:37 +02:00
2024-05-07 11:06:37 +02:00
2024-05-07 11:06:37 +02:00
2024-05-07 11:06:37 +02:00
2024-05-07 11:06:37 +02:00
2024-05-07 11:06:37 +02:00
2024-05-07 11:06:37 +02:00
2024-04-10 13:57:16 +02:00
2024-04-03 11:50:09 +02:00
2024-05-07 11:06:37 +02:00
2024-02-19 18:58:35 +01:00
2024-04-11 17:20:34 +02:00
2024-04-09 15:45:01 +02:00
2024-04-18 10:41:34 +02:00
2024-04-11 17:20:34 +02:00

aare

Data analysis library for PSI hybrid detectors

Folder structure

Folder subfolder Content
include/ aare/ top level header/s
core/ include/ public headers for core
src/ source files and non public headers

file_io class diagram

file_io class diagram

Test the zmq socket with a detector simulator

1. Download and build the slsDetectorPackage

git clone https://github.com/slsdetectorgroup/slsDetectorPackage.git --branch=8.0.1 #or the desired branch
cd slsDetectorPackage
mkdir build && cd build
cmake .. -DSLS_USE_SIMULATOR=ON
make -j8 #or your number of cores

2. Launch the slsReceiver

bin/slsReceiver

3. Launch the virtual server

bin/jungfrauDetectorServer_virtual

4 Configure the detector simulator

#sample config file is in etc/ in the aare repo
sls_detector_put config etc/virtual_jf.config

#Now you can take images using sls_detector_acquire
sls_detector_acquire

5. Run the zmq example

examples/zmq_example

#Will print the headers fof the frames received

Test the zmq processing replaying data

To be implemented

generate documentation

# for doxygen documentation
doxygen .doxygen.config 

# for automatically generated plant uml diagrams
clang-uml





Description
Mirrored from github
Readme 106 MiB
Languages
C++ 89.2%
Python 6.1%
CMake 4.7%