Skip to content

lrlunin/tango-moench

Repository files navigation

tango-moench

build on ubuntu build on ubuntu codecov

Tango device servers both for control and online evaulation of the acquired images.

This implementation also allows both separation and simultaneous processing with different algorithms.

Dependecies installation

Common libraries

Ubuntu

sudo apt install cmake g++ libzmq3-dev rapidjson-dev libfmt-dev libhdf5-dev libboost-dev

CentOS/RedHat

sudo yum install cmake gcc-c++ zeromq-devel rapidjson-devel fmt-devel hdf5-devel boost-devel

Tango

Ubuntu

Follow the original manual for Ubuntu. There is only option to build it from source.

wget https://gitlab.com/api/v4/projects/24125890/packages/generic/TangoSourceDistribution/9.3.5/tango-9.3.5.tar.gz
tar xzvf tango-9.3.5.tar.gz && cd tango-9.3.5
./configure
make -j4
sudo make install

CentOS/RedHat

Follow the original manual for CentOS. You can either install a pre-built package from MAX-IV repository or build it from source as well.

slsDetectorPackage

Install the required dependencies of slsDetectorPackage libraries and build the package from sources:

# clone the library
git clone https://github.com/slsdetectorgroup/slsDetectorPackage.git
cd slsDetectorGroup
# checkout the desired library version
git checkout tags/8.0.1
# create build folder
# maybe you can also set -DSLS_USE_DETECTOR=OFF and -DSLS_USE_RECEIVER=OFF if somehow you have to save space
cmake -B build -DSLS_DEVEL_HEADERS=ON -DSLS_USE_MOENCH=ON
# build the library
cmake --build build
# install the library (requires write access to /usr/lib etc)
sudo cmake --install build

CUDA (optional)

Follow the original manual for your platform.

Package installation

git clone https://github.com/lrlunin/tango-moench.git
cd tango-moench
# configure the build files
cmake -B build
# build the library
cmake --build build
# install the library (requires write access to /usr/lib etc)
sudo cmake --install build

Help

Any additional information according to slsDetector, its python API or pytango references can be found under the links:

Contributor's guide

Feel free to fork and enhance this software. Send pull requests if you want.

  1. Install clang-format for united source files formatting.
  2. Install pre-commit for automated formatting and preview generation.
  3. Run once pre-commit install to activate.
  4. Run tests by cd build && ctest command.

Authors

Contributors names and contact info

@lrlunin

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages