ccd48 is a scripted external layered package
built for NOAO's IRAF (Image Reduction and Analysis Facility) software
system for the semi-automated reduction of single-amplifier CCD data.
The ccd48 package is an alternative to the built-in
imred.ccdproc package. Its main task is ccd48proc, which
calls several sub-tasks (modules) to:
and to generate the zero-, dark-, response- and illumination-calibration frames (which includes fitting, normalization and image combination steps).
The ccd48 package was developed over the years while at the Kapteyn Astronomical Institute, the Harvard-Smithsonian Center for Astrophysics, ESA's ESTEC and at the Arizona State University. Although ccd48proc was written originally for the reduction of data obtained at the FLWO 48inch telescope at Mt.Hopkins (AZ) between March 1994 and March 1997 as part of the Nearby Field Galaxy Survey (Jansen et al. 2000, ApJS 126, 271), it was generalized over the years to accommodate any type of single-amplifier CCD data, including spectroscopic data. The few parameters that differ between instruments and CCDs are stored in four instrument specific files:
Current examples of a detector identification files may be found in "ccd48$lib/" for several telescopes and instruments. For the VATT CCD camera at the Mt.Graham International Observatory, a valid 'ccdident' would be either "ccd26x1" or "ccd26x2", corresponding to the same CCD detector read either unbinned or binned 2x2. The CCD detector identification is used to choose the proper bad pixel file ("isdir$badpix.alias") and shutter-effect correction coefficient file ("isdir$shutter.alias").
The main conceptual difference with ccdproc in the noao.imred package is that ccd48proc is strictly modular and sequential, and the results of all intermediate steps along the reduction can be saved and inspected, and that the level of verbosity to the image headers and particularly to the various text log files is quite high. This facilitates tracing problems. It will work on only one type of data per invocation of the task (the user needs to choose one of "bias", "dark, "flat" (meaning: dome or pupil flat), "sky" (meaning: twilight flat), or "object"). The modular nature and the fact that the entire package is scripted makes custom tailoring and local adaptations for data from specific instruments easy. Another unique feature is the possibility to direct the entire reduction via image header keywords rather than task parameters. Although this feature is the newest addition and still under developement, it lends itself to pipeline reductions akin to those developed for space-based observatories like HST.
The flexibility of ccd48 comes at the expense of processing speed but, in the experience of the author, CPU cycles and even I/O are rarely the bottleneck in data processing (it would be an issue for true pipe-line processing of data from a well-understood instrument). Finally, as mentioned, this package is a work in progress and is provided here as is, and while useful to the author and students at ASU, no warranty is given as to its suitability, explicity or implied, for any particular use of purpose, ... in order words: the usual legalese! ;-)
Rolf A. Jansen -- Tempe (AZ), Sep 30 2003
Getting a copy of CCD48 v2.12
ccd48 (current version: 06Jul2004)
may be downloaded as a single gzip-compressed tar archive here (~89 kb).
To install the package, 'gunzip' and 'untar' the tar archive in the /iraf/extern/ directory as user 'iraf' (IRAF administrator account):
gunzip ccd48_2.12_version.tgz (Unix and Linux) tar xvpf ccd48_2.12_version.tar or: gtar -xvpzf ccd48_2.12_version.tgz (Linux)
Then, tell IRAF about the existence of the ccd48 package, by inserting the following lines in file /iraf/iraf/unix/hlib/extern.pkg before the definition of the helpdb paths:
reset ccd48 = /iraf/extern/ccd48_2.12/ task ccd48.pkg = ccd48$ccd48.cland in the definition of the helpdb paths, add:
Note that package ccd48 requires layered package rjtools to be installed as well.