Name Last Update
caldb Loading commit data...
doc Loading commit data...
examples Loading commit data...
m4 Loading commit data...
models Loading commit data...
pyext Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
ctatools.pc.in Loading commit data...
ctatools.sh Loading commit data...
testall.sh Loading commit data...

README

ctatools information
====================
Version: 00-02-05 (October 3, 2011)
Author: Juergen Knodlseder (knodlseder@cesr.fr)
GammaLib dependency: 00-04-11

License information
===================
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see .

What's new in this release?
===========================
See the files "NEWS" and "ChangeLog".

What are the ctatools anyway?
=============================
ctatools are ftools-like executable for the scientific analysis of
CTA observations. They are based on GammaLib, a vesatile toolbox
for the high-level analysis of astronomical gamma-ray data.

The following tools are so far available:

ctobssim - simulation of CTA observations
ctselect - event selection
ctbin - event binning
ctlike - maximum likelihood model fitting

Web sites
=========
http://cta.irap.omp.eu/ctatools - ctatools documentation
http://gammalib.sourceforge.net - for GammaLib documentation
https://sourceforge.net/projects/gammalib/ - for GammaLib downloads

Prerequisites
=============
ctatools require GammaLib. Please refer to http://gammalib.sourceforge.net
for instructions about how to install GammaLib. The GammaLib code can
be downloaded from https://sourceforge.net/projects/gammalib/.

Once GammaLib is properly installed, make sure that you added the setup
script to your .bashrc or $HOME/.profile script:

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

If you use C shell or a variant then add the following to your
.cshrc or .tcshrc script:

setenv GAMMALIB /usr/local/gamma
source $GAMMALIB/bin/gammalib-init.csh

If you have installed GammaLib in another directory than /usr/local/gamma,
please adapt the path correspondingly.

Please do NOT attempt to install ctatools in a directory different to that
of GammaLib. The setup procedure does NOT support this feature, although
you might manage to make it work :-)

Unix Installation
=================
To build and install ctatools, simply type the following:

% ./configure
% make
% make install

By default ctatools installs itself in /usr/local/gamma. If you need to
install ctatools in a different location or in your home directory, use
the --prefix option to ./configure. For example:

% ./configure --prefix=/home/yourname/projects
% make
% make install

The file INSTALL details more about using configure. Also try

% ./configure --help.

Macintosh OS X Installation
============================
ctatools are known to work on various flavors of OS X. Follow the Unix
installation instructions above.

In some cases, install problems have been reported with mixed
architectures (i386, ppc, x86_64), so you may configure and build
as follows to enable building a bundle for various architectures:

% export CXXFLAGS="-arch ppc -arch i386 -arch x86_64"
% export LDFLAGS="-arch ppc -arch i386 -arch x86_64"
% ./configure
% make
% make check
% make install

Solaris Installation
====================
ctatools compile on Solairs, but there is an issue with using it as a
shared library (see "Known problems" below).

Testing
=======
If you want to test ctatools before installation, type the following:

% make check

Getting started
===============
To be written ...

Documentation
=============
To be written ...

Bug reports
===========
To be written ...

Known problems
==============
Solaris
Although ctatools compile on Solaris using the Sun compiler, there are
problems with global symbols in the shared GammaLib library that prevent
the model registry to work correctly. Furthermore, GammaLib is not able
to catch its own exceptions, which prevents the FITS interface to work
correctly. Possible it will work using gcc on Solaris, yet this has not
so far been tested.

Contact
=======
To get in touch with the ctatools developers and to contribute to the
project please contact Juergen Knoedlseder .