Back to Programs

stitch

stitch combines 2-amplifier or 4-amplifier LDSS3 data into single-chip format, simultaneously removing bias and making approximate corrections for differing amplifier gains.

 

USAGE

stitch framename

INPUT

framenamecn.fits are the set of image files to be combined

OUTPUT

framename.fits is the combined frame.

PARAMETERS

gain1

relative gain (e-/adu) of amplifier 1

...

...

gain4

relative gain (e-/adu) of amplifier 4

dewar

the relevant CCD configuration: LDSS3-2, LDSS3C-2**,  or LDSS3-4

bias

name of bias file to used, or "none"

 

Details:

stitch makes bias and gain corrections in the same way as does biasflat. The COSMOS pipeline expects LDSS3 data to be in 1-amplifier, 1 FITS file form, so stitch must be used before any other processing of LDSS3 files is performed.

**For newer 2-amplifier LDSS3-C data (taken April 2014 or later), you will need to set dewar to LDSS3C-2.

Note, that the IRAF routine lstitch is NOT an acceptable alternative to stitch: lstitch using an inferior IRAF method of bias correction and does not combine data in the same orientation as does stitch.

 

Back to Programs