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)
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
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.
20130207:Tagged as v1.0.25Fixed bug in the projection part of the WCS routines incir_imstack_cat.c and cir_mosaic.c which was caused by crpixbeing exact integers20121208:Tagged as v1.0.2420121207:Added vstpickup20121205:Fixed cir_classify so that it traps for WFCAM data and modifiesthe moffat profile exponent. Also fixed grout and ungrout so thatyou can't accidently repeat the procedure20121001:Tagged as v1.0.2320121001:Fixed bug in cir_mosaic affecting zeropoint. Fixed duplicatecolumn names in imcore create_table_1.c20120904: Tagged as v1.0.2220120904: Fixed small memory leak in mosaic20120813:Fixed a bug in imcore_main that causes the routine to barf ifthe output file doesn't have a filename extension (eg .fit). Fixedoutloc in cir_imstack_cat and cir_mosaic so that the zpn iscalculated correctly. Added PPMXL to list of astrometriccatalogues in wcsfit.20120720:Fixed a bug in some of the sort routines20120509:Fixed nebuliser so that any tables in the input FITS file justget copied to the output file. Also stole some code from ESO sothat the autoconf now checks whether cfitsio has been configuredfor threads.
For additional support please contact us at ku.ca.mac.tsa@plehusac
FITS to ASCII catalogues
gfortran fitsio_cat_list.f -o fitsio_cat_list -L/sw/lib -lcfitsio -lm
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).