blob: 9e3da07065d1f15cfed4f1aca407a62f3b9e75f1 (
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
|
include "../lib/display.h"
include "../lib/polyphot.h"
# AP_YSHOW -- Print the all the polyphot parameters on the standard output.
procedure ap_yshow (ap)
pointer ap # pointer to the apphot strucuture
begin
call ap_nshow (ap)
call printf ("\n")
call ap_cpshow (ap)
call printf ("\n")
call ap_spshow (ap)
call printf ("\n")
call ap_yyshow (ap)
end
# AP_YPSHOW -- Print the noise and polypars parameters on the standard output.
procedure ap_ypshow (ap)
pointer ap # pointer to apphot structure
begin
call ap_nshow (ap)
call printf ("\n")
call ap_yyshow (ap)
end
# AP_YYSHOW -- Print the polypars parameters on the standard output.
procedure ap_yyshow (ap)
pointer ap # pointer to apphot structure
pointer sp, str
bool itob()
int apstati()
real apstatr()
begin
call smark (sp)
call salloc (str, SZ_LINE, TY_CHAR)
call printf ("Photometry Parameters\n")
call apstats (ap, PYNAME, Memc[str], SZ_LINE)
call printf (" %s = %s\n")
call pargstr (KY_PYNAME)
call pargstr (Memc[str])
call printf (" %s = %g\n")
call pargstr (KY_PYZMAG)
call pargr (apstatr (ap, PYZMAG))
call printf (" %s = %b\n")
call pargstr (KY_MKPOLYGON)
call pargb (itob (apstati (ap, MKPOLYGON)))
call sfree (sp)
end
|