aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/apphot/polyphot/apgypars.x
blob: 960f9cbcb8066bd4fe14eb076da2cf0196bb55c4 (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
include "../lib/display.h"
include "../lib/noise.h"
include "../lib/center.h"
include "../lib/fitsky.h"
include "../lib/polyphot.h"

# AP_GYPARS -- Procedure to fetch the polyphot task parameters.

procedure ap_gypars (ap)

pointer	ap		# pointer to apphot fitting structure

begin
	# Open the apphot strucuture.
	call apyinit (ap, AP_CENTROID1D, 2.5, AP_MODE, 10.0, 10.0, 2.0,
	    AP_NPOISSON)

	# Get the data dependent parameters.
	call ap_gdapars (ap)

	# Get the centering algorithm parameters.
	call ap_gcepars (ap)

	# Get the sky fitting parameters.
	call ap_gsapars (ap)

	# Get the photometry parameters.
	call ap_gpopars (ap)
end