getting_tools.rst 1.43 KB

Getting the analysis tools

We recommend that you use ctools to analyse the data from the :ref:`first CTA Data Challenge <glossary_1dc>`.

The reference version for the Data Challenge is ctools-1.4.2. ctools-1.4.2 depends on gammalib-1.4.2. You may either download the source code for both packages or use a pre-compiled binary package for Mac OS X that includes all necessary code:

After downloading, configure GammaLib and ctools as follows:

$ export GAMMALIB=/usr/local/gamma
$ source $GAMMALIB/bin/gammalib-init.sh
$ export CTOOLS=/usr/local/gamma
$ source $CTOOLS/bin/ctools-init.sh

Have a look at :ref:`getting the ctools <sec_admin>` if you need more information about the installation and configuration process.

Note

You may consider adding the GAMMALIB and CTOOLS environment variables as well as the sourcing of the configuration scripts to your .bashrc file (or equivalent) so that your analysis environment for the :ref:`first CTA Data Challenge <glossary_1dc>` is always setup correctly.