Skip to content
/ CHIC Public

Computation of neutrino oscillation probabilities and their tangent spaces

Notifications You must be signed in to change notification settings

pabloferm/CHIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIC

C++ library for computing three/flavor neutrino oscillation probabilities and their derivatives.

Structure

  • src/: C++ source and headers
  • bindings/: Python package and bindings
  • examples/: Minimal examples for C++ and Python

Requirements

Build instructions

  • 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

Examples

  • 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

Reference

You can check and cite the associated paper here.

About

Computation of neutrino oscillation probabilities and their tangent spaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published