aboutsummaryrefslogtreecommitdiff
path: root/noao/imred/ccdred/src/icombine.com
blob: cb826d586a698a6e0b0703474ba03e44fc7848b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ICOMBINE Common

int	combine			# Combine algorithm
int	reject			# Rejection algorithm
bool	project			# Combine across the highest dimension?
real	blank			# Blank value
pointer	rdnoise			# CCD read noise
pointer	gain			# CCD gain
pointer	snoise			# CCD sensitivity noise
real	lthresh			# Low threshold
real	hthresh			# High threshold
int	nkeep			# Minimum to keep
real	lsigma			# Low sigma cutoff
real	hsigma			# High sigma cutoff
real	pclip			# Number or fraction of pixels from median
real	flow			# Fraction of low pixels to reject
real	fhigh			# Fraction of high pixels to reject
int	grow			# Grow radius
bool	mclip			# Use median in sigma clipping?
real	sigscale		# Sigma scaling tolerance
int	logfd			# Log file descriptor

# These flags allow special conditions to be optimized.

int	dflag			# Data flag (D_ALL, D_NONE, D_MIX)
bool	aligned			# Are the images aligned?
bool	doscale			# Do the images have to be scaled?
bool	doscale1		# Do the sigma calculations have to be scaled?
bool	dothresh		# Check pixels outside specified thresholds?
bool	dowts			# Does the final average have to be weighted?
bool	keepids			# Keep track of the image indices?
bool	docombine		# Call the combine procedure?
bool	sort			# Sort data?

pointer	icm			# Mask data structure

common	/imccom/ combine, reject, blank, rdnoise, gain, snoise, lsigma, hsigma,
		 lthresh, hthresh, nkeep, pclip, flow, fhigh, grow, logfd,
		 dflag, sigscale, project, mclip, aligned, doscale, doscale1,
		 dothresh, dowts, keepids, docombine, sort, icm