This is an analysis code for studying cross corellations between neturino events and galaxy samples.
Some test codes are in the 'tests' sub-directory. The following steps install the code.
git clone https://github.com/KIPAC/nuXgal.git
cd nuXgal
git checkout tags/v0.1
We recommed that you explictly tell the code to put IRFs and ancillary files with the code itself. You can do this by setting:
export NUXGAL_DIR=DIRECTORY_WITH_CODE
conda create -n nuXgal python=3.6
conda activate nuXgal
python setup.py develop
Download IceCube data, for example the public three-year point source data (https://icecube.wisc.edu/science/data/PS-3years) to directory $ICECUBE_DATA_FOLDER.
python scripts/generateICIRFS.py -i $ICECUBE_DATA_FOLDER
python scripts/figures.py