aboutsummaryrefslogtreecommitdiff
path: root/noao/digiphot/apphot/center/apgcpars.x
blob: e40db12e7527aafbe35be8dc1394b7f32ae1373b (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
include "../lib/display.h"
include "../lib/noise.h"
include "../lib/center.h"

# AP_GCPARS -- Procedure to read in the centering parameters from the
# appropriate parameters files.

procedure ap_gcpars (ap)

pointer	ap			# pointer to the apphot structure

bool	clgetb()
int	btoi()

begin
	# Initialize the structure.
	call apcinit (ap, AP_CENTROID1D, 2.5, 2.0, AP_NPOISSON)

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

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

	# Make radial plots on stdgraph.
	call apseti (ap, RADPLOTS, btoi (clgetb ("radplots")))
end