aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/daophot/allstar/dpaconfirm.x
blob: 76e24798d26d22a3a2f4021bf4ce44e44797fc71 (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
include "../lib/daophotdef.h"

# DP_ACONFIRM -- Procedure to confirm the critical allstar parameters.

procedure dp_aconfirm (dao)

pointer	dao		# pointer to the group structure

int	dp_stati()

begin
	call printf ("\n")

	# Confirm the recentering and sky fitting parameters.
	call dp_vrecenter (dao)
	call dp_vgroupsky (dao)
	call dp_vfitsky (dao)
	if (dp_stati (dao, FITSKY) == YES) {
	    call dp_vsannulus (dao)
	    call dp_vwsannulus (dao)
	}

	# Confirm the psf radius.
	call dp_vpsfrad (dao)

	# Confirm the fitting radius.
	call dp_vfitrad (dao)

	# Confirm the maximum group size.
	call dp_vmaxgroup (dao)

	# Confirm the minimum and maximum good data values.
	call dp_vdatamin (dao)
	call dp_vdatamax (dao)

	call printf ("\n")
end