You are here: Home / Surveys & Projects / Software Release

Software Release

CASUTOOLS

CASUTools is a package of several programs that we routinely use on the pipeline processing we carry out at CASU. At the moment it contains the following tools:

  • The image object detection and parameterization (imcore, imcore_list and classify)
  • The image stacking and dribbling software (imstack, dribble)
  • The astrometric fitting software (wcsfit)
  • Background filtering to remove large scale structures (nebuliser)
  • The software to do the final mosaic of a list of image extensions (mosaic, grout, ungrout)


DOCUMENTATION

The usage of each application is documented in imcore, stacking, wcsfitnebuliser, mosaic, dribbling, grouting, ungrouting, VST pickup and classify.

 

Installation

The software has been tested in different Linux distributions, 32 and 64bit, Solaris and OSX. It requires a C compiler to build and recent versions of the CFITSIO and WCSLIB libraries installed in your system. See the README file in the distribution file for instructions on how to build the software. For most of the systems you just need to do

./configure && make && make install

In those cases where the FITSIO and WCSLIB libraries are not in a standard location you will need to specify additional flags to configure as in e.g.

./configure --with-cfitsio=/sw --with-wcs=/sw

DOWNLOAD

Last version is 1.0.25 can be downloaded from here. We just ask for your name and email so that we can inform you about updates or new versions.

CHANGELOG

20130207:
Tagged as v1.0.25
Fixed bug in the projection part of the WCS routines in
cir_imstack_cat.c and cir_mosaic.c which was caused by crpix
being exact integers
20121208:
Tagged as v1.0.24
20121207:
Added vstpickup
20121205:
Fixed cir_classify so that it traps for WFCAM data and modifies
the moffat profile exponent. Also fixed grout and ungrout so that
you can't accidently repeat the procedure
20121001:
Tagged as v1.0.23
20121001:
Fixed bug in cir_mosaic affecting zeropoint. Fixed duplicate
column names in imcore create_table_1.c
20120904: Tagged as v1.0.22
20120904: Fixed small memory leak in mosaic
20120813:
Fixed a bug in imcore_main that causes the routine to barf if
the output file doesn't have a filename extension (eg .fit). Fixed
outloc in cir_imstack_cat and cir_mosaic so that the zpn is
calculated correctly. Added PPMXL to list of astrometric
catalogues in wcsfit.
20120720:
Fixed a bug in some of the sort routines
20120509:
Fixed nebuliser so that any tables in the input FITS file just
get copied to the output file. Also stole some code from ESO so
that the autoconf now checks whether cfitsio has been configured
for threads.

 

SUPPORT

For additional support please contact us at ku.ca.mac.tsa@plehusac

 

FITS to ASCII catalogues

The fitsio_cat_list program can be used to convert the FITS catalogue tables into ascii applying all necessary corrections. It is a fortran program available to download separately below. It needs the CFITSIO library and can be compiled as
gfortran fitsio_cat_list.f -o fitsio_cat_list -L/sw/lib -lcfitsio -lm
and then run as
fitsio_cat_list catalogue.fits

It writes a file named catalogue.asc with the following columns: RA and Dec coordinates, x, y, magnitude, magnitude error, chip number, stellar classification, ellipticity and position angle. Additional columns can be added by editing the source code which is available for download at the bottom of this page. 

Note that v1.7 onwards now uses double precision arithmetic for the relevant part of the astrometric conversion since the original single precision version limited the external accuracy to up to ~50-100mas, particularly for fields with large RA.

The latest version is v1.10 (20130911).

Related content
fitsio_cat_list.f