/
cmx_targetmask.yaml
215 lines (202 loc) · 13.2 KB
/
cmx_targetmask.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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
#- commissioning (cmx) primary survey targets bit mask:
cmx_mask:
- [STD_GAIA, 0, "Gaia stars used for dithering (and other) tests", {obsconditions: DARK|GRAY|BRIGHT}]
- [SV0_STD_FAINT, 1, "SV-like STD_FAINT class is set (very early SV selection)", {obsconditions: DARK|GRAY}]
- [SV0_STD_BRIGHT, 2, "SV-like STD_BRIGHT class is set (very early SV selection)", {obsconditions: BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [STD_TEST, 3, "Very bright stars for early tests", {obsconditions: DARK|GRAY|BRIGHT}]
- [STD_CALSPEC, 4, "Matches to CALSPEC stars", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [STD_DITHER, 5, "Gaia stars specifically for dithering tests", {obsconditions: DARK|GRAY|BRIGHT}]
- [SV0_MWS_CLUSTER, 6, "SV-like Open and Globular clusters for the MWS", {obsconditions: BACKUP|TWILIGHT12|TWILIGHT18}]
- [SV0_MWS_CLUSTER_VERYBRIGHT, 7, "Bright SV-like Open and Globular clusters for the MWS", {obsconditions: TWILIGHT12|TWILIGHT18}]
# ADM targeting bits that should resemble at least the initial SV selections ("SV0").
- [SV0_BGS, 8, "SV-like BGS bit is set (very early SV selection)", {obsconditions: BRIGHT}]
- [SV0_MWS, 9, "SV-like MWS bit is set (very early SV selection)", {obsconditions: BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [SV0_LRG, 10, "SV-like LRG bit is set (very early SV selection)", {obsconditions: DARK}]
- [SV0_ELG, 11, "SV-like ELG bit is set (very early SV selection)", {obsconditions: DARK|GRAY}]
- [SV0_QSO, 12, "SV-like QSO bit is set (very early SV/RF selection)", {obsconditions: DARK}]
- [SV0_WD, 13, "SV-like WD bit is set (very early MWS_WD selection)", {obsconditions: BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [SV0_QSO_Z5, 14, "SV-like QSO bit is set (specifically for the QSO_Z5 selection from SV", {obsconditions: DARK}]
# ADM back-up targets for poor conditions.
- [BACKUP_BRIGHT, 16, "Bright Gaia targets for poor conditions", {obsconditions: TWILIGHT12|TWILIGHT18}]
- [BACKUP_FAINT, 17, "Fainter Gaia targets for poor conditions", {obsconditions: BACKUP|TWILIGHT12|TWILIGHT18}]
# ADM first light targets.
- [M31_STD_BRIGHT, 18, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_H2PN, 19, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_GC, 20, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_QSO, 21, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_VAR, 22, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_BSPL, 23, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_M31cen, 24, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M31_M31out, 25, "M31 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ORI_STD_BRIGHT, 26, "Orion first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ORI_QSO, 27, "Orion first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ORI_ORI, 28, "Orion first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ORI_HA, 29, "Orion first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ROS_STD_BRIGHT, 30, "Rosette first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ROS_QSO, 31, "Rosette first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
#- ADM leave 32-37 reserved for calibration targets (to mirror the main survey)
- [ROS_ROSM17, 38, "Rosette first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ROS_ROS1, 39, "Rosette first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ROS_HA, 40, "Rosette first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [ROS_ROS2, 41, "Rosette first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M33_STD_BRIGHT, 42, "M33 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M33_H2PN, 43, "M33 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M33_GC, 44, "M33 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M33_QSO, 45, "M33 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M33_M33cen, 46, "M33 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [M33_M33out, 47, "M33 first light program", {obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
#- ADM retain bits 49-52 for masking/convenience (to mirror the main survey)
- [MINI_SV_LRG, 53, "LRGs for Mini SV tests (NORTH+SOUTH with noresolve)", {obsconditions: DARK|GRAY|BRIGHT}]
- [MINI_SV_ELG, 54, "ELGs for Mini SV tests (NORTH+SOUTH with noresolve)", {obsconditions: DARK|GRAY|BRIGHT}]
- [MINI_SV_QSO, 55, "QSOs (RF) for Mini SV tests (NORTH+SOUTH with noresolve)", {obsconditions: DARK|GRAY|BRIGHT}]
- [MINI_SV_BGS_BRIGHT, 56, "BGS (bright) for Mini SV tests (NORTH+SOUTH with noresolve)", {obsconditions: DARK|GRAY|BRIGHT}]
- [SV0_MWS_FAINT, 57, "Faint stars for Mini SV tests", {obsconditions: BACKUP|TWILIGHT12|TWILIGHT18}]
- [STD_DITHER_GAIA, 58, "Gaia stars for dithering tests outside of the Legacy Surveys footprint", {obsconditions: DARK|GRAY|BRIGHT}]
#- Calibration targets. Shared between main/cmx/sv programs.
- [SKY, 32, "Blank sky locations",
{obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [STD_FAINT, 33, "SV-like standard stars for dark/gray conditions", {obsconditions: DARK|GRAY}]
- [STD_BRIGHT, 35, "SV-like standard stars for BRIGHT conditions", {obsconditions: BRIGHT}]
- [BAD_SKY, 36, "Blank sky locations that are imperfect but still useable",
{obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
- [SUPP_SKY, 37, "SKY is based on Gaia-avoidance (SKY will be set, too)",
{obsconditions: DARK|GRAY|BRIGHT|BACKUP|TWILIGHT12|TWILIGHT18}]
#- Observation State
#- if a target passes more than one target bit, it is possible that one bit
#- will consider the observations "DONE" while another bit will want "MORE".
#- DONOTOBSERVE trumps MORE which trumps DONE
#- ADM It's possible that we'll want different obsmask criteria compared
#- ADM to the obsmask in targetmask.yaml for the main survey
#- ADM (but it's unlikely we'll want different *obsconditions* or *targetids*
cmx_obsmask:
- [UNOBS, 0, "unobserved"]
- [OBS, 1, "observed but no spectro pipeline answer yet"]
- [DONE, 2, "enough observations already obtained"]
- [MORE_ZWARN, 3, "ambiguous redshift; need more observations"]
- [MORE_ZGOOD, 4, "redshift known; need more observations"]
- [DONOTOBSERVE, 16, "Do not observe this target (possibly temporarily)"]
#- Priorities for each target bit
#- Numerically larger priorities are higher priority to be observed first.
#- NOTE: these aren't a bitmask, they are a mapping from bit -> priority
#- SAME_AS_XXX means to use the priorities for bitname XXX
#- -1 means the concept of priority doesn't really apply to this target class
#- Every target bit must define priority for "UNOBS"
#- Default priority for "MORE_ZGOOD" is same as "UNOBS"
#- Other states are default 1 unless specified here
#- -1 means that the concept of priority doesn't apply to this bit
priorities:
cmx_mask:
# ADM STD_GAIA/DITHER should have the lowest UNOBS and be a few 100 from the
# ADM next class at the upper end, as these target classes are
# ADM prioritized from 100 higher to ~400 lower on UNOBS by magnitude.
STD_GAIA: {UNOBS: 2400, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_STD_FAINT: {UNOBS: 2600, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_STD_BRIGHT: {UNOBS: 2600, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
STD_TEST: {UNOBS: 2800, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
STD_CALSPEC: {UNOBS: 3000, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
STD_DITHER: {UNOBS: 2400, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_MWS_CLUSTER: {UNOBS: 1600, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_MWS_CLUSTER_VERYBRIGHT: {UNOBS: 1601, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_BGS: {UNOBS: 2100, MORE_ZWARN: 2100, MORE_ZGOOD: 1000, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_MWS: {UNOBS: 1500, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_ELG: {UNOBS: 3000, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_LRG: {UNOBS: 3200, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_QSO: {UNOBS: 3400, MORE_ZGOOD: 3500, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_WD: {UNOBS: 2998, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_QSO_Z5: {UNOBS: 3600, MORE_ZGOOD: 3700, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
BACKUP_BRIGHT: {UNOBS: 10, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
BACKUP_FAINT: {UNOBS: 10, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_STD_BRIGHT: {UNOBS: 1008, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_H2PN: {UNOBS: 1007, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_GC: {UNOBS: 1006, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_QSO: {UNOBS: 1005, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_VAR: {UNOBS: 1004, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_BSPL: {UNOBS: 1003, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_M31cen: {UNOBS: 1002, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M31_M31out: {UNOBS: 1001, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ORI_STD_BRIGHT: {UNOBS: 1008, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ORI_QSO: {UNOBS: 1005, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ORI_ORI: {UNOBS: 1003, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ORI_HA: {UNOBS: 1002, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ROS_STD_BRIGHT: {UNOBS: 1008, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ROS_QSO: {UNOBS: 1005, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ROS_ROSM17: {UNOBS: 1004, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ROS_ROS1: {UNOBS: 1003, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ROS_HA: {UNOBS: 1002, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
ROS_ROS2: {UNOBS: 1001, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M33_STD_BRIGHT: {UNOBS: 1008, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M33_H2PN: {UNOBS: 1007, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M33_GC: {UNOBS: 1006, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M33_QSO: {UNOBS: 1005, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M33_M33cen: {UNOBS: 1002, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
M33_M33out: {UNOBS: 1001, DONE: 10, OBS: 10, DONOTOBSERVE: 0}
MINI_SV_LRG: {UNOBS: 3410, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
MINI_SV_ELG: {UNOBS: 3001, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
MINI_SV_QSO: {UNOBS: 3420, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
MINI_SV_BGS_BRIGHT: {UNOBS: 2101, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
SV0_MWS_FAINT: {UNOBS: 5, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
STD_DITHER_GAIA: {UNOBS: 2400, DONE: 2, OBS: 1, DONOTOBSERVE: 0}
BAD_SKY: {UNOBS: 0, OBS: 0, DONE: 0, MORE_ZWARN: 0, MORE_ZGOOD: 0}
#- Standards and sky are treated specially; priorities don't apply
STD_FAINT: -1
SKY: -1
SUPP_SKY: -1
STD_BRIGHT: -1
# ADM INITIAL number of observations (NUMOBS) for each target bit
# ADM SAME_AS_XXX means to use the NUMOBS for bitname XXX
# ADM -1 means that the concept of NUMOBS doesn't apply to this bit
numobs:
cmx_mask:
STD_GAIA: 100
SV0_STD_FAINT: 100
SV0_STD_BRIGHT: 100
STD_TEST: 1
STD_CALSPEC: 100
STD_DITHER: 1
SV0_MWS_CLUSTER: 100
SV0_MWS_CLUSTER_VERYBRIGHT: 100
SV0_BGS: 1
SV0_MWS: 100
SV0_ELG: 1
SV0_LRG: 2
SV0_QSO: 4
SV0_WD: 100
SV0_QSO_Z5: 4
BACKUP_BRIGHT: 1
BACKUP_FAINT: 1
M31_STD_BRIGHT: 100
M31_H2PN: 100
M31_GC: 100
M31_QSO: 100
M31_VAR: 100
M31_BSPL: 100
M31_M31cen: 100
M31_M31out: 100
ORI_STD_BRIGHT: 100
ORI_QSO: 100
ORI_ORI: 100
ORI_HA: 100
ROS_STD_BRIGHT: 100
ROS_QSO: 100
ROS_ROSM17: 100
ROS_ROS1: 100
ROS_HA: 100
ROS_ROS2: 100
M33_STD_BRIGHT: 100
M33_H2PN: 100
M33_GC: 100
M33_QSO: 100
M33_M33cen: 100
M33_M33out: 100
MINI_SV_ELG: 1
MINI_SV_LRG: 2
MINI_SV_QSO: 4
MINI_SV_BGS_BRIGHT: 1
SV0_MWS_FAINT: 1
STD_DITHER_GAIA: 1
BAD_SKY: 0
#- Standards and sky are treated specially; NUMOBS doesn't apply
STD_FAINT: -1
SKY: -1
SUPP_SKY: -1
STD_BRIGHT: -1