Python wrapper for GLoBES Author: Andrii Terliuk
Install GLoBES, currently available stable version is 3.0.11 Go to some folder and do:
wget http://www.mpi-hd.mpg.de/personalhomes/globes/download/globes-3.0.11.tar.gz
tar -xvzf globes-3.0.11.tar.gz
cd ./globes-3.0.11
Install it using :
./configure --prefix=<path/to/globes/installation/folder/>
make
make install
Get Sterile neutrinos and non-standard interactions extension for globes https://www.mpi-hd.mpg.de/personalhomes/globes/tools.html
Place snu.c and snu.h into ./snu/ subfolder of this repository.
go to /snu folder and apply a bit hacky patch to set correct electron density
edit prefix path in Makefile:
prefix=<put/your/path/to/GLoBES/prefix/here>
and then do
make all
make install
After this you need to compile a Python interface for SNU extension.
First, put location of your GLoBES/SNU extension installation as prefix to Makefile
Then run make.
You should see GLoBES.so file and now it should be ready to use.
Go to examples folder and change path in plot_numubar.py file to the location of the folder containitng GLoBES.so.
Then simply run the script, which should produce the following oscillogram:
This browser does not support PDFs. Please download the PDF to view it: Download PDF.