Skip to content

albert-physics/mercury

 
 

Repository files navigation

pymercury

Position reconstruction in scintillation detectors

Installation

Check if the following dependencies are satisfied:

  • eigen3 linear algebra library (on Linux, it can be normally installed from repositories) with sudo apt install libeigen3-dev (Debian-based) or yum install eigen3-devel (RPM-based)
  • CERN ROOT package with Minuit2
  • Python 3 development headers and pybind11 (pip install pybind11)

Build shared libraries lrmodel.so and mercury.so:

make pylrm
make pymercury

Then copy the shared libraries into the place where they will be picked up by your Python interpreter. You can get the list of such places by running the following script:

import sys
print(sys.path)

To import, use

import lrmodel
import mercury

About

Position reconstruction in scintillation detectors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 98.9%
  • Makefile 1.1%