blob: c4264ede6db23e26af6cf874096163acd5421b08 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
include "../lib/display.h"
include "../lib/radprof.h"
# AP_RPROFSHOW -- Procedure to display all the radprof parameters.
procedure ap_rprofshow (ap)
pointer ap # pointer to the apphot strucuture
bool itob()
int apstati()
begin
call ap_nshow (ap)
call printf ("\n")
call ap_cpshow (ap)
call printf ("\n")
call ap_spshow (ap)
call printf ("\n")
call ap_mpshow (ap)
call printf ("\n")
call ap_rppshow (ap)
call printf (" %s = %b\n")
call pargstr (KY_RADPLOTS)
call pargb (itob (apstati (ap, RADPLOTS)))
end
# AP_RPSHOW -- Procedure to display radprof parameters.
procedure ap_rpshow (ap)
pointer ap # pointer to apphot structure
bool itob()
int apstati()
begin
call ap_nshow (ap)
call ap_rppshow (ap)
call printf (" %s = %b\n")
call pargstr (KY_RADPLOTS)
call pargb (itob (apstati (ap, RADPLOTS)))
end
# AP_RPPSHOW -- Procedure to display radprof parameters.
procedure ap_rppshow (ap)
pointer ap # pointer to apphot structure
int apstati()
real apstatr()
begin
# Print the radial profile characteristics.
call printf ("Radial Profile Fitting Parameters\n")
call printf (" %s = %g %s %s = %g %s\n")
call pargstr (KY_RPRADIUS)
call pargr (apstatr (ap, RPRADIUS))
call pargstr (UN_RSCALEUNIT)
call pargstr (KY_RPSTEP)
call pargr (apstatr (ap, RPSTEP))
call pargstr (UN_RSCALEUNIT)
call printf (" %s = %d %s = %g %s %s = %d\n")
call pargstr (KY_RPORDER)
call pargi (apstati (ap, RPORDER))
call pargstr (KY_RPKSIGMA)
call pargr (apstatr (ap, RPKSIGMA))
call pargstr (UN_RSIGMA)
call pargstr (KY_RPNREJECT)
call pargi (apstati (ap, RPNREJECT))
end
|