saltcombine – Combine SALT images
saltcombine images outimage (combine) (reject) (mask) (weight) (blank) (scale) (statsec) (lthresh) (hthresh) (clobber) (logfile) (verbose)
SALTCOMBINE is a tool for combining images into a master image. The program has a number of options for how the images are combine including the combination and rejection methods.
The task assume that all input images are of the same size and type. Options for combining the sources are average or median. For average combination, a weighted average can be applied if inverse variance frames are included with the data. To include inverse variance frames, the extension of the frames should be included using the IVAREXT keyword in the corresponding data extension. Also, if the BPMEXT keyword is set, it will also use the bad pixel maps for rejecting pixels.
Options for rejection only include ccdclip and sigclip. If ‘ccdclip’ is selected, the gain and readnoise will be extracted from the image header and used to calculate the expected variance in the frames. The task will check to see if the data have already been gain corrected and use the appropriate value if they have been. If ‘sigclip’ is selected, the standard deviation of the pixels being averaged will be calculated for use in the rejection. Any source outside of the thresholds set by lthresh and hthresh will be rejected.
Prior to combining the images, the images can be multiplicatively scaled. The user can set the scale statistic to either calculate the mean or the median of a region statsec. The images will then be scaled by that value. If statsec is left blank, the scaling will be based on the statistics of the entire image.
To combine a set of SALT images into a master flat:
--> saltcombine images='@images.lis' outimage='VFLAT.fits'
logfile='salt.log' verbose='yes'
Individual unbinned full frame RSS image files can be 112MB in size. It is recommended to use workstations with a minimum of 512MB RAM. On a linux machine with 2.8 Ghz processor and 2 Gb of RAM, one 2051x2051 image can be processed in 0.31 sec.
Not all features available in iraf.ccdred.combine are available for SALTCOMBINE.
Send feedback and bug reports to salthelp@saao.ac.za