ctools is a software package developed for the scientific analysis of Cherenkov Telescope Array (CTA) data, as well as data from existing Imaging Air Cherenkov Telescopes (such as H.E.S.S., MAGIC or VERITAS).

ctools comprises a set of ftools-like binary executables and Python scripts with a command-line interface allowing for interactive step-wise data analysis. ctools includes also Python modules to control all tools and scripts from within Python. Creation of shell or Python scripts and pipelines is supported as well.

ctools are based on GammaLib, a versatile toolbox for the scientific analysis of astronomical gamma-ray data. Besides CTA, GammaLib supports also the analysis of Fermi/LAT and COMPTEL data, and extensions to support further gamma-ray instruments are planned. An interface to virtual observatory ressources does also exist. By making use of the GammaLib multi-instrument capabilities, ctools supports the joint analysis of CTA, H.E.S.S., MAGIC, VERITAS, Fermi/LAT and COMPTEL data.

ctools are developed by a team of enthousiastic gamma-ray astronomers with support from engineers. We regularily organise coding sprints where key developers but also newcomers meet to discuss the developments and next steps, and advance with the coding of the software.

Acknowledging or citing ctools

If you use ctools for work/research presented in a publication we ask you to include the formal reference

in your paper as well as the identifiers ascl:1601.005 and ascl:1110.007 of the ctools and GammaLib packages in the Astrophysics Source Code Library (ASCL). In addition please add the following acknowledgment:

This research made use of ctools, a community-developed analysis package for Imaging Air Cherenkov Telescope data. ctools is based on GammaLib, a community-developed toolbox for the scientific analysis of astronomical gamma-ray data.

If the journal allows this, you can also include a link to http://cta.irap.omp.eu/ctools/ in addition to the above text.

If you are giving a presentation or talk featuring work/research that makes use of ctools, we suggest using this logo on your title slide:


And to see who published an article using ctools you may check the following link.


ctools is free software distributed under the GNU GPL license version 3.