@@ -23,10 +23,13 @@ \subsection{Use case - s\_resolution\_min}
2323III Scan mode is raster map or on-the-fly map
2424
2525\begin {verbatim }
26- s_resolution_min > 0.017 AND
27- WHERE (target_name = 'Virgo A' OR
28- CONTAINS(POINT(s_ra, s_dec),CIRCLE,187.7059308,+12.3911232,0.25)) = 1)) AND
29- (scan_mode = 'raster map' OR scan_mode = 'on-the-fly map')
26+ SELECT * FROM ivoa.obscore
27+ NATURAL JOIN ivoa.obscore-radio
28+ WHERE
29+ s_resolution_min > 0.017
30+ AND (target_name = 'Virgo A' OR
31+ CONTAINS(POINT(s_ra, s_dec),CIRCLE,187.7059308,+12.3911232,0.25)) = 1))
32+ AND (scan_mode = 'raster map' OR scan_mode = 'on-the-fly map')
3033\end {verbatim }
3134
3235\subsection {Use case - s\_ resolution\_ max }
@@ -38,10 +41,13 @@ \subsection{Use case - s\_resolution\_max}
3841II Target IC443 or position inside 15 arcmin from 94.2500000,+22.5699997 \\
3942
4043\begin {verbatim }
41- s_resolution_max < 0.017 AND
42- WHERE (target_name = 'IC443' OR
43- CONTAINS(POINT(s_ra,s_dec),CIRCLE(94.2500000,+22.5699997,0.25)) = 1)) AND
44- (scan_mode = 'raster map' OR scan_mode = 'on-the-fly map')
44+ SELECT * FROM ivoa.obscore
45+ NATURAL JOIN ivoa.obscore-radio
46+ WHERE s_resolution_max < 0.017
47+ AND
48+ (target_name = 'IC443' OR
49+ CONTAINS(POINT(s_ra,s_dec),CIRCLE(94.2500000,+22.5699997,0.25)) = 1))
50+ AND (scan_mode = 'raster map' OR scan_mode = 'on-the-fly map')
4551\end {verbatim }
4652
4753\subsection {Use case - s\_ fov\_ min - large field of views }
@@ -52,11 +58,12 @@ \subsection{Use case - s\_fov\_min - large field of views}
5258I. Minimum FOV > 0.8 deg \\
5359II Target name = Abell 194 or position inside 15 arcmin from 21.5054167, -1.3672221 \\
5460\begin {verbatim }
55- SELECT * FROM ivoa.ObscoreRadioExtended
61+ SELECT * FROM ivoa.obscore
62+ NATURAL JOIN ivoa.obscore-radio
5663WHERE s_fov_min > 0.8 AND
5764(target_name = 'Abell 194' OR
58- CONTAINS(POINT(s_ra,s_dec),CIRCLE(21.5054167,-1.3672221,0.25)) = 1)) AND
59- (scan_mode = 'raster map' OR scan_mode = 'on-the-fly map')
65+ CONTAINS(POINT(s_ra,s_dec),CIRCLE(21.5054167,-1.3672221,0.25)) = 1))
66+ AND (scan_mode = 'raster map' OR scan_mode = 'on-the-fly map')
6067\end {verbatim }
6168
6269\subsection {Use case - s\_ fov\_ min - extended target completly included }
@@ -66,6 +73,8 @@ \subsection{Use case - s\_fov\_min - extended target completly included}
6673I. Target name = Pictor A \\
6774II. The circle defined by the minimum FOV of the dataset fully contains the circle delimiting Pictor A. \\
6875\begin {verbatim }
76+ SELECT * FROM ivoa.obscore
77+ NATURAL JOIN ivoa.obscore-radio
6978WHERE target_name = 'Pictor A' AND
7079CONTAINS(CIRCLE(79.9571789, -45.7788479,(8/60)/2),
7180CIRCLE(s_ra, s_dec, s_fov_min/2)) = 1)
@@ -79,13 +88,15 @@ \subsection{Use case - dataproduct\_type}
7988III. Observed frequency in the range 20-21 GHz \\
8089IV. dataproduct\_ type = spatial\_ profile or scan\_ mode contains map\\
8190V. 51544 < observation time (MJD) < 60309 \\
91+
8292\begin {verbatim }
83- SELECT * FROM ivoa.ObscoreRadioExtended
84- WHERE obs_collection EQ ?INAF-Medicina, single dish? AND
85- (em_min >=20000 AND em_max <= 21000) AND
86- (dataproduct_type EQ 'spatial profile' OR scan_mode LIKE "*map*") AND
87- target_name = '3C48' AND
88- (t_min >= 51544 AND t_max <= 60309)
93+ SELECT * FROM ivoa.obscore
94+ NATURAL JOIN ivoa.obscore-radio
95+ WHERE obs_collection EQ 'INAF-Medicina, single dish'
96+ AND (em_min >=20000 AND em_max <= 21000)
97+ AND (dataproduct_type EQ 'spatial profile' OR scan_mode LIKE "*map*")
98+ AND target_name = '3C48'
99+ AND (t_min >= 51544 AND t_max <= 60309)
89100\end {verbatim }
90101
91102\subsection {Use case - f\_ resolution, frequency ranges }
@@ -99,7 +110,8 @@ \subsection{Use case - f\_resolution, frequency ranges}
99110III. em\_ min and em\_ max such than frequency bounds are included in the 1GHz to 1.5GHz range \\
100111\begin {verbatim }
101112SELECT *, 299792458 / em_max as f_min, 299792458 / em_min as f_max
102- FROM ivoa.ObscoreRadioExtended
113+ FROM ivoa.obscore
114+ NATURAL JOIN ivoa.obscore-radio
103115WHERE dataproduct_type = 'cube' AND
104116f_resolution < 1000000 AND
105117299792458 / em_max > 1.0 e+9 AND
@@ -112,10 +124,10 @@ \subsection{Use case - frequency selection for images }
112124I. Product type is image or cube \\
113125II. higher spectral limit < 1Ghz
114126\begin {verbatim }
115- SELECT * FROM ivoa.ObscoreRadioExtended
116- WHERE (dataproduct_type = 'image' OR
117- dataproduct_type = 'cube') AND
118- 299792458 / em_min < 1e9
127+ SELECT * FROM ivoa.obscore
128+ WHERE (dataproduct_type = 'image'
129+ OR dataproduct_type = 'cube')
130+ AND 299792458 / em_min < 1e9
119131\end {verbatim }
120132% Mireille Louys: shall we also look for spectra with these frequency constrains ?
121133
@@ -132,9 +144,9 @@ \subsection{Use case - high resolution data around FRB targets }
132144\textit {Give me high-resolution data on possible persistent radio sources within an arc second of FRB 121102: }
133145
134146\begin {verbatim }
135- SELECT * FROM ivoa.obscore NATURAL JOIN ivoa.obs_radio
136- WHERE CONTAINS(POINT(s_ra,s_dec),CIRCLE(82.99458,33.14794,0.0003)) = 1 AND
137- s_resolution_max < 0.001
147+ SELECT * FROM ivoa.obscore NATURAL JOIN ivoa.obscore-radio
148+ WHERE CONTAINS(POINT(s_ra,s_dec),CIRCLE(82.99458,33.14794,0.0003)) = 1
149+ AND s_resolution_max < 0.001
138150\end {verbatim }
139151
140152\subsection {Use case - reasonable fidelity }
@@ -143,13 +155,14 @@ \subsection{Use case - reasonable fidelity}
143155be imaged with reasonable fidelity: }
144156
145157\begin {verbatim }
146- SELECT * FROM ivoa.obscore NATURAL JOIN ivoa.obs_radio
147- WHERE CONTAINS(POINT(s_ra,s_dec),CIRCLE(24.4212500,33.1588889,0.003)) = 1 AND
148- s_maximum_angular_scale > 0.018 AND
149- uv_distribution_fill > 0.2 AND
150- uv_distribution_ecc < 0.75 AND
151- em_min < 0.21 AND
152- em_max > 0.21
158+ SELECT * FROM ivoa.obscore
159+ NATURAL JOIN ivoa.obscore-radio
160+ WHERE CONTAINS(POINT(s_ra,s_dec),CIRCLE(24.4212500,33.1588889,0.003)) = 1
161+ AND s_largest_angular_scale > 0.018
162+ AND uv_distribution_fill > 0.2
163+ AND uv_distribution_ecc < 0.75
164+ AND em_min < 0.21
165+ AND em_max > 0.21
153166\end {verbatim }
154167
155168% end of Mark's (VLBI) science cases
@@ -161,27 +174,24 @@ \subsection{ use case - visibility data product and target object selection }
161174I. DataType = visibility \\
162175II. Target Name = Fornax Cluster \\
163176\begin {verbatim }
164- SELECT obs_id FROM ivoa.ObscoreRadioExtended
165- WHERE dataproduct_type = 'visibility'
166- target_name = 'Fornax cluster'
177+ SELECT obs_id FROM ivoa.obscore
178+ WHERE dataproduct_type = 'visibility'
179+ AND target_name = 'Fornax cluster'
167180\end {verbatim }
168181
169182
170-
171-
172-
173183\subsection {Use case - maximum angular scale selection }
174184\textit {Any visibility dataset Within an arcec around FRB 121102 where maximum angular scale is larger than 1 minute . }\\ \\
175185Show me all datasets satisfying:\\
176186I. Product type is visibility \\
177187II. Maximum angular scale > 0.018 deg \\
178188III. Position within 1 arcsec of 82.99458 + 33.14794
179189\begin {verbatim }
180- SELECT * FROM ivoa.ObscoreRadioExtended
181- WHERE dataproduct_type = 'visibility' AND
182- max_angular_scale > 0.018 AND
183- max_angular_scale > 0.018 AND
184- CONTAINS(POINT(s_ra,s_dec),CIRCLE(82.99458, 33.14794,0.0003)) = 1))
190+ SELECT * FROM ivoa.obscore
191+ NATURAL JOIN ivoa.obscore-radio
192+ WHERE dataproduct_type = 'visibility'
193+ AND s_largest_angular_scale_max > 0.018
194+ AND CONTAINS(POINT(s_ra,s_dec),CIRCLE(82.99458, 33.14794,0.0003)) = 1))
185195\end {verbatim }
186196
187197\subsection {Use case - maximum angular scale selection with reasonable fidelity }
@@ -194,12 +204,13 @@ \subsection{Use case - maximum angular scale selection with reasonable fidelity}
194204IV. uv distribtion factor eccentricity < 0.1 \\
195205V. Position within 1 arcsec of 82.99458 + 33.14794
196206\begin {verbatim }
197- SELECT * FROM ivoa.ObscoreRadioExtended
198- WHERE dataproduct_type = 'visibilty' AND
199- max_angular_scale > 0.018 AND
200- uv_distribution_fill > 0.7 AND
201- uv_distribution_ecc < 0.1 AND
202- CONTAINS(POINT(s_ra,s_dec),CIRCLE(82.99458, 33.14794,0.0003)) =1))
207+ SELECT * FROM ivoa.obscore
208+ NATURAL JOIN ivoa.obscore-radio
209+ WHERE dataproduct_type = 'visibilty'
210+ AND s_largest_angular_scale_max > 0.018
211+ AND uv_distribution_fill > 0.7
212+ AND uv_distribution_ecc < 0.1
213+ AND CONTAINS(POINT(s_ra,s_dec),CIRCLE(82.99458, 33.14794,0.0003)) =1))
203214\end {verbatim }
204215
205216\subsection {Use case - time selection }
@@ -211,11 +222,12 @@ \subsection{Use case - time selection }
211222IIV. maximal duration per sample < 0.05 s \\
212223
213224\begin {verbatim }
214- SELECT * FROM ivoa.ObscoreRadioExtended
215- WHERE instr_type = 'beamForming' AND
216- dataproduct_type = 'timeseries' AND
217- t_resolution < 0.1 AND
218- t_exp_max < 0.05
225+ SELECT * FROM ivoa.obscore
226+ NATURAL JOIN ivoa.obscore-radio
227+ WHERE instr_type = 'beamForming'
228+ AND dataproduct_type = 'timeseries'
229+ AND t_resolution < 0.1 AND
230+ AND t_exp_max < 0.05
219231\end {verbatim }
220232
221233\subsection {Use case - instrument type and mode selection }
@@ -227,29 +239,15 @@ \subsection{Use case - instrument type and mode selection }
227239III. Target name = 3C 273 or \\
228240IV. position inside 3 arcmin around 187.2779159404900 +02.0523882305500
229241\begin {verbatim }
230- SELECT * FROM ivoa.ObscoreRadioExtended
231- WHERE instr_type = 'SD' AND
232- scan_mode = 'raster' AND
233- (target_name = '3C 273' OR
242+ SELECT * FROM ivoa.obscore
243+ NATURAL JOIN ivoa.obscore-radio
244+ WHERE instr_type = 'SD'
245+ AND scan_mode = 'raster'
246+ AND (target_name = '3C 273' OR
234247 CONTAINS(POINT(s_ra,s_dec), CIRCLE(187.2779159404900, +02.0523882305500,0.05)) = 1)
235248\end {verbatim }
236249
237250% use case FB
238- \subsection {Use case - instrument type selection }
239- \textit {Any single dish or beam forming dataset with spectral range inside the 500 Mhz - 1Ghz band and in the Coma Cluster. }\\ \\
240- Show me all datasets satisfying:\\
241- I. Instrument type is Single dish or beam forming \\
242- II. lower spectral limit > 500 Mhz \\
243- III. higher spectral limit < 1Ghz \\
244- IV. position inside 18 arcmin around 194.93502 +27.91246
245- \begin {verbatim }
246- SELECT * FROM ivoa.ObscoreRadioExtended
247- WHERE (instr_type = 'SD' OR
248- instr_type = 'beamForming') AND
249- CONTAINS(POINT(s_ra,s_dec),CIRCLE(194.93502, +27.91246, 0.3) = 1
250- \end {verbatim }
251-
252-
253251\subsection {Use case - instrument type and frequency selection }
254252\textit {Any single dish or beam forming dataset with spectral range inside the 500 Mhz - 1Ghz band and in the Coma Cluster. }\\ \\
255253Show me all datasets satisfying:\\
@@ -259,17 +257,16 @@ \subsection{Use case - instrument type and frequency selection }
259257IV. position inside 18 arcmin around 194.93502 +27.91246
260258
261259\begin {verbatim }
262- SELECT * FROM ivoa.ObscoreRadioExtended
260+ SELECT * FROM ivoa.obscore
261+ NATURAL JOIN ivoa.obscore-radio
263262 WHERE (instr_type = 'SD' OR
264- instr_type = 'beamForming') AND
265- f_min > 500 AND
266- f_max < 1000 AND
267- CONTAINS(POINT(s_ra,s_dec),CIRCLE(194.93502, +27.91246, 0.3) = 1
263+ instr_type = 'beamForming')
264+ AND f_min > 500
265+ AND f_max < 1000
266+ AND CONTAINS(POINT(s_ra,s_dec),CIRCLE(194.93502, +27.91246, 0.3) = 1
268267\end {verbatim }
269268
270269
271-
272-
273270\subsection {Use case - instrument parameters selection }
274271\textit {Any interferometry data of good quality and significant spatial resolution from the instrumental point of view. }\\ \\
275272Show me all datasets satisfying:\\
@@ -278,10 +275,10 @@ \subsection{Use case - instrument parameters selection }
278275III. antenna maximum distance in meters > 5000 \\
279276
280277\begin {verbatim }
281- SELECT * FROM ivoa.ObscoreRadioExtended
282- WHERE instr_type = 'interferometry' AND
283- instr_ant_number > 40 AND
284- instr_ant_max_dist > 5000
278+ SELECT * FROM ivoa.obscore-radio
279+ WHERE instr_type = 'interferometry'
280+ AND instr_tel_number > 40
281+ AND instr_tel_max_dist > 5000
285282\end {verbatim }
286283
287284
0 commit comments