-
Notifications
You must be signed in to change notification settings - Fork 0
/
test06.yaml
74 lines (65 loc) · 2.32 KB
/
test06.yaml
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
# smoothing kernel
psf : {type : Moffat , beta : 4 , fwhm : 2}
# Define the galaxy profile
gal :
type : InclinedExponential
half_light_radius : { type : Random , min : 0.05 , max : 25 }
scale_h_over_r : { type : Random , min : 0.1 , max : 0.2 }
flux :
type : RandomDistribution
function : x**-1.5 # power law random distribution
x_min : 1.0e4
x_max : 1.0e7
inclination :
type : Radians
theta :
type : RandomDistribution
function : "0.5 * math.sin(x)" # note python language used here
x_min : 0
x_max : { type : Eval, str : "math.pi" } # more python here
rotation :
type : Random # to ensure that the Inclined Exponential is rotated about a random axis.
# global image properties
image :
type : Scattered # scatter the galaxies across the image
size : 512 # pixels # could also use xsize and ysize
nobjects : 100
image_pos :
type : XY
x : { type : Random , min : 1 , max : 512 }
y : { type : Random , min : 1 , max : 512 }
# noise : {sky_level : 1.0e2} # ADU / arcsec^2
random_seed : 8383721
stamp_size : 512
---
# output setup
output :
type : Fits
dir : output
file_name : test06_nonoise_stamplimit.fits
nproc : -1 # use as many processors as available to construct the image
truth : # also generate a 'truth' catalogue recording input parameters
file_name : truth06.dat
# type : NumberedFile
# root : 'truth' # string appended at beginning of file name
# ext : '.dat' # ascii file
columns : # list all columns desired in output truth catalogue
object_id : obj_num
image_id : image_num
file_id : file_num
flux : gal.flux
radius : gal.half_light_radius
h_over_r : gal.scale_h_over_r
inclination : gal.inclination # .rad will be appended to make explicit units in radians
theta : gal.rotation # as above
image_pos : image_pos
---
# global image properties
image :
noise : {sky_level : 1.0e2} # ADU / arcsec^2
# output setup
output :
type : Fits
dir : output
file_name : test06_noise_stamplimit.fits
nproc : -1 # use as many processors as available to construct the image