blob: 4aa8d853bf55609d7082ecee455c7dfa221a266d (
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
include "starlist.h"
procedure st_show (st)
pointer st # pointer to starlist structure
begin
call printf ("nstars = %d\n")
call pargi (ST_NSTARS(st))
call printf ("spatial: %s\n")
call pargstr (ST_SPSTRING(st))
call printf (" xmin = %g xmax = %g\n")
call pargr (ST_XMIN(st))
call pargr (ST_XMAX(st))
call printf (" ymin = %g ymax = %g\n")
call pargr (ST_YMIN(st))
call pargr (ST_YMAX(st))
call printf (" xc = %g yc = %g\n")
call pargr (ST_XC(st))
call pargr (ST_YC(st))
if (ST_SPATIAL(st) == ST_HUBBLE) {
call printf (" core = %g base = %g\n")
call pargr (ST_CORE(st))
call pargr (ST_BASE(st))
} else if (ST_SPATIAL(st) == ST_SPFILE) {
call printf (" file: %s\n")
call pargstr (ST_SFILE(st))
}
call printf (" nssample = %d sorder = %d\n")
call pargi (ST_NSSAMPLE(st))
call pargi (ST_SORDER(st))
call printf (" rbinsize = %d\n")
call pargr (ST_RBINSIZE(st))
call printf ("luminosity = %s\n")
call pargstr (ST_LFSTRING(st))
call printf (" minmag = %g maxmag = %g\n")
call pargr (ST_MINMAG(st))
call pargr (ST_MAXMAG(st))
if (ST_LUMINOSITY(st) == ST_BANDS) {
call printf ( " bands: alpha = %g beta = %g\n")
call pargr (ST_ALPHA(st))
call pargr (ST_BETA(st))
call printf (" delta = %g mstar = %g mzero = %g\n")
call pargr (ST_DELTA(st))
call pargr (ST_MSTAR(st))
call pargr (ST_MZERO(st))
} else if (ST_LUMINOSITY(st) == ST_SALPETER) {
call printf (" mzero = %g\n")
call pargr (ST_MZERO(st))
} else if (ST_LUMINOSITY(st) == ST_POWLAW) {
call printf (" power = %g\n")
call pargr (ST_POWER(st))
} else if (ST_LUMINOSITY(st) == ST_LFFILE) {
call printf (" file: %s\n")
call pargstr (ST_LFILE(st))
}
call printf ( " nlsample = %d lorder = %d\n")
call pargl (ST_NLSAMPLE(st))
call pargi (ST_LORDER(st))
call printf (" mbinsize = %g\n")
call pargr (ST_MBINSIZE(st))
end
# ST_GSHOW -- Display the GALAXIES parameters.
procedure st_gshow (st)
pointer st # pointer to starfield structure
begin
call printf ("ngals = %d\n")
call pargi (ST_NSTARS(st))
call printf ("spatial: %s\n")
call pargstr (ST_SPSTRING(st))
call printf (" xmin = %g xmax = %g\n")
call pargr (ST_XMIN(st))
call pargr (ST_XMAX(st))
call printf (" ymin = %g ymax = %g\n")
call pargr (ST_YMIN(st))
call pargr (ST_YMAX(st))
call printf (" xc = %g yc = %g\n")
call pargr (ST_XC(st))
call pargr (ST_YC(st))
if (ST_SPATIAL(st) == ST_HUBBLE) {
call printf (" core = %g base = %g\n")
call pargr (ST_CORE(st))
call pargr (ST_BASE(st))
} else if (ST_SPATIAL(st) == ST_SPFILE) {
call printf (" file: %s\n")
call pargstr (ST_SFILE(st))
}
call printf (" nssample = %d sorder = %d\n")
call pargi (ST_NSSAMPLE(st))
call pargi (ST_SORDER(st))
call printf (" rbinsize = %d\n")
call pargr (ST_RBINSIZE(st))
call printf ("luminosity = %s\n")
call pargstr (ST_LFSTRING(st))
call printf (" minmag = %g maxmag = %g\n")
call pargr (ST_MINMAG(st))
call pargr (ST_MAXMAG(st))
if (ST_LUMINOSITY(st) == ST_POWLAW) {
call printf ( " powlaw: power = %g\n")
call pargr (ST_POWER(st))
} else if (ST_LUMINOSITY(st) == ST_SCHECTER) {
call printf ( " schecter: alpha = %g mstar = %g mzero = %g\n")
call pargr (ST_ALPHA(st))
call pargr (ST_MSTAR(st))
call pargr (ST_MZERO(st))
} else if (ST_LUMINOSITY(st) == ST_LFFILE) {
call printf (" file: %s\n")
call pargstr (ST_LFILE(st))
}
call printf (" nlsample = %d lorder = %d\n")
call pargi (ST_NLSAMPLE(st))
call pargi (ST_LORDER(st))
call printf (" mbinsize = %d\n")
call pargr (ST_MBINSIZE(st))
call printf (" eradius = %g sradius = %g dbinsize = %g\n")
call pargr (ST_ERADIUS(st))
call pargr (ST_SRADIUS(st))
call pargr (ST_DBINSIZE(st))
call printf (" z = %g\n")
call pargr (ST_Z(st))
call printf (" absorption = %g\n")
call pargr (ST_ABSORPTION(st))
call eprintf ("egalmix = %g\n")
call pargr (ST_EGALMIX(st))
call printf ("ar = %g\n")
call pargr (ST_AR(st))
call printf (" ebinsize = %g\n")
call pargr (ST_EBINSIZE(st))
call printf ("posmin = 0.0 posmax = 360.0\n")
call printf (" pbinsize = %g\n")
call pargr (ST_PBINSIZE(st))
end
|