# CRCOMBINE -- Image combine parameters

input,s,a,,,,List of images to combine
output,s,a,,,,List of output images
logfile,s,h,"STDOUT",,,"Log file

# Cosmic ray rejection parameters"
combine,s,h,"average","average|median|sum",,Type of combine operation
reject,s,h,"crreject","none|minmax|ccdclip|crreject|sigclip|avsigclip|pclip",,Type of rejection
scale,s,h,"mode",,,Image scaling
zero,s,h,"none",,,Image zero point offset
statsec,s,h,"",,,Image section for computing statistics
lsigma,r,h,10.,0.,,Lower sigma clipping factor
hsigma,r,h,3.,0.,,Upper sigma clipping factor
rdnoise,s,h,"0.",,,CCD readout noise (electrons)
gain,s,h,"1.",,,CCD gain (electrons/DN)
grow,r,h,0.,0.,,"Radius (pixels) for neighbor rejection

# Additional output"
headers,s,h,"",,,List of header files (optional)
bpmasks,s,h,"",,,List of bad pixel masks (optional)
rejmasks,s,h,"",,,List of rejection masks (optional)
nrejmasks,s,h,"",,,List of number rejected masks (optional)
expmasks,s,h,"",,,List of exposure masks (optional)
sigmas,s,h,"",,,"List of sigma images (optional)

# Additional parameters"
project,b,h,no,,,Project highest dimension of input images?
outtype,s,h,"real","short|ushort|integer|long|real|double",,Output image pixel datatype
outlimits,s,h,"",,,Output limits (x1 x2 y1 y2 ...)
offsets,f,h,"none",,,Input image offsets
masktype,s,h,"none","none|goodvalue|badvalue|goodbits|badbits",,Mask type
maskvalue,r,h,0,,,Mask value
blank,r,h,0.,,,Value if there are no pixels
weight,s,h,"none",,,Image weights
expname,s,h,"",,,Image header exposure time keyword
lthreshold,r,h,INDEF,,,Lower threshold
hthreshold,r,h,INDEF,,,Upper threshold
nlow,i,h,1,0,,minmax: Number of low pixels to reject
nhigh,i,h,1,0,,minmax: Number of high pixels to reject
nkeep,i,h,1,,,Minimum to keep (pos) or maximum to reject (neg)
mclip,b,h,yes,,,Use median in sigma clipping algorithms?
snoise,s,h,"0.",,,Sensitivity noise (fraction)
sigscale,r,h,0.1,0.,,Tolerance for sigma clipping scaling corrections
pclip,r,h,-0.5,,,pclip: Percentile clipping parameter
