Image Reduction with FITSTools

Arno Riffeser and me jointly developed the first implementation of the WeCAPP reduction pipeline. While this pipeline is still being improved, many of the small programs might prove useful to other people who want to modify FITS files from a shell command line or have some tools which propagate errors along with image manipulation or simply have some coding examples for the LTL (little template library by Niv Drory, Claus Gössl, Jan Snigula).
Error propagation and high computational & I/O performance. That's what my FITSTools are all about. If you need a starter on why and how propagate errors in image reduction have a look at 2002A+A381.1095G.pdf and P4.4.pdf. If you are more interested in the implementation techniques read this contribution to the ADASS 2003 conference.

The Source Code

To build the FITSTools you first need to get, build, and install the latest (11. 07. 2007) LTL developer branch version. So follow the previous link, download the sources, and try ...

tar xvzf ltl-1.7.10.tar.gz
cd ltl-1.7.10
./configure --prefix=$HOME
make check
make install

If that doesn't work, it's probably because you have an "outdated" C++ compiler. This newer version of the LTL already supports FITSFiles > 2GB, FITS image extensions, memory mapped arrays, FITS WCS etc. But some of those features are still in testing. With a working LTL you can now download the FITSTools sources (11. 07. 2007) and untar, configure and make / make install them just like the LTL. Don't forget to add the paths to the LTL includes and libs!

tar xvzf fitstools-2.2.tar.gz
cd fitstools-2.2
CPPFLAGS="-I$HOME/include/" LDFLAGS="-L$HOME/lib/" ./configure --prefix=$HOME
make install
For some reduction scripts which make use of the FITSTools have a look at our Reduction Tools for WST/MONICA and CA-1.23 (11. 07. 2007) or just drop me a line and ask.

Image and Error Image of EGB 0427

See the effects neglected by simple error estimates when processing images. One hour light in R2 filter band at Wendelstein 0.8 m telescope:

EGB 0427
JPG, 417 kb
Error Image
egb0427 error
JPG, 412 kb

Go back to my homepage

Last revision: January, 2005