C++ library for computing three/flavor neutrino oscillation probabilities and their derivatives.
src/: C++ source and headersbindings/: Python package and bindingsexamples/: Minimal examples for C++ and Python
- Eigen library: https://libeigen.gitlab.io/?title=Main_Page (in the following a standard installation path (i.e. /usr/include/eigen3) is assumed)
- Only if building python bindings:
- For the C++ CHIC library only
make clean
make
or
make lib
- For the python bindings (optional)
pip install ./bindings
and making it available in system-wide
export PYTHONPATH=$PWD/bindings/:$PYTHONPATH
- For C++ library, you can check the following minimal example:
examples/cpp/example.cpp
compile and run it as
g++ -o example examples/cpp/example.cpp -Lbuild -lchic -I src -I/usr/include/eigen3
./example
- For the python module, you can check the following minimal example:
python3 examples/python/example.py
- Additionally, there is a Jupyter notebook:
examples/python/example.ipynb
You can check and cite the associated paper here.
