Installing NuRadioReco¶
Installation using Pip¶
The latest NuRadioReco release can be installed using pip:
pip install NuRadioRecoThis will also install the required dependencies.
Important
If you want the current version or you want to contribute to NuRadioReco, you need to install if manually.
Manual Installation¶
If you don’t already have it installed, install Git.
Then clone the NuRadioReco repository
git clone https://github.com/nu-radio/NuRadioReco.gitand add it to you PYTHONPATH.
Dependencies¶
To install all (optional and non-optional) dependencies available in pip at once, use the command
pip install numpy scipy matplotlib astropy tinydb tinydb-serialization aenum h5py mysql-python pymongo dash plotly sphinx peakutils
Core Dependencies¶
NuRadioReco requires the following packages to work properly:
radiotools: Can also be installed using git and needs to be added to the PYTHONPATH
All other dependencies can be installed using pip
numpy:
pip install numpyscipy:
pip install scipymatplotlib:
pip install matplotlibastropy:
pip install astropytinydb: tinydb version 4.1.1 or newer is required.
pip install tinydb tinydb-serializationAdvanced enum:
pip install aenum
Optional Dependencies¶
These packages are recommended to be able to use all of NuRadioReco’s features:
h5py to open HDF5 files:
pip install h5pyTo access detector databases:
For SQL datbases install MySQL and mysql-python:
pip install mysql-pythonFor MongoDB databases install:
pip install pymongoTo use the Event Display you need plotly and dash:
pip install dash pip install plotlyIf you want templates to show up in the Event Display, you need to set up an environment variable NURADIORECOTEMPLATES and have it point to the template directory.
The documentation is created using Sphinx
pip install sphinxSome debug plots need peakutils:
pip install peakutilsTo read ARIANNA files, Snowshovel need to be installed.