@@ -188,19 +188,16 @@ def query_region_async(self, coordinates, *, radius=3*u.arcmin, limit=5000, offs
188
188
coordinates : str or `~astropy.coordinates` object
189
189
The target around which to search. It may be specified as a
190
190
string or as the appropriate `~astropy.coordinates` object.
191
- radius : str or `~astropy.units.Quantity` object, optional
192
- Default 3 degrees .
191
+ radius : str or `~astropy.units.Quantity` object
192
+ Default is 3 arcminutes. The radius around the coordinates to search within .
193
193
The string must be parsable by `~astropy.coordinates.Angle`. The
194
- appropriate `~astropy.units.Quantity` object from
195
- `~astropy.units` may also be used. Defaults to 3 arcminutes.
194
+ appropriate `~astropy.units.Quantity` object from `~astropy.units` may also be used.
196
195
limit : int
197
- Optional and default is 5000.
198
- the maximum number of dataset IDs in the results.
196
+ Default is 5000. The maximum number of dataset IDs in the results.
199
197
offset : int
200
- Optional and default is 0
201
- the number of records you wish to skip before selecting records.
202
- select_cols: list, None
203
- Default None. Names of columns that will be included in the result table.
198
+ Default is 0. The number of records you wish to skip before selecting records.
199
+ select_cols: list, optional
200
+ Default is None. Names of columns that will be included in the result table.
204
201
If None, a default set of columns will be returned.
205
202
**criteria
206
203
Other mission-specific criteria arguments.
@@ -224,7 +221,7 @@ def query_region_async(self, coordinates, *, radius=3*u.arcmin, limit=5000, offs
224
221
# Put coordinates and radius into consistent format
225
222
coordinates = commons .parse_coordinates (coordinates )
226
223
227
- # if radius is just a number we assume degrees
224
+ # If radius is just a number, assume arcminutes
228
225
radius = coord .Angle (radius , u .arcmin )
229
226
230
227
# Dataset ID column should always be returned
@@ -233,7 +230,7 @@ def query_region_async(self, coordinates, *, radius=3*u.arcmin, limit=5000, offs
233
230
elif self .mission == 'ullyses' :
234
231
select_cols = self ._default_ullyses_cols
235
232
236
- # basic params
233
+ # Basic params
237
234
params = {'target' : [f"{ coordinates .ra .deg } { coordinates .dec .deg } " ],
238
235
'radius' : radius .arcsec ,
239
236
'radius_units' : 'arcseconds' ,
@@ -258,23 +255,20 @@ def query_criteria_async(self, *, coordinates=None, objectname=None, radius=3*u.
258
255
string or as the appropriate `~astropy.coordinates` object.
259
256
objectname : str
260
257
The name of the target around which to search.
261
- radius : str or `~astropy.units.Quantity` object, optional
262
- Default 3 degrees .
258
+ radius : str or `~astropy.units.Quantity` object
259
+ Default is 3 arcminutes. The radius around the coordinates to search within .
263
260
The string must be parsable by `~astropy.coordinates.Angle`. The
264
- appropriate `~astropy.units.Quantity` object from
265
- `~astropy.units` may also be used. Defaults to 3 arcminutes.
261
+ appropriate `~astropy.units.Quantity` object from `~astropy.units` may also be used.
266
262
limit : int
267
- Optional and default is 5000.
268
- the maximum number of dataset IDs in the results.
263
+ Default is 5000. The maximum number of dataset IDs in the results.
269
264
offset : int
270
- Optional and default is 0.
271
- the number of records you wish to skip before selecting records.
272
- select_cols: list, None
273
- Default None. Names of columns that will be included in the result table.
265
+ Default is 0. The number of records you wish to skip before selecting records.
266
+ select_cols: list, optional
267
+ Default is None. Names of columns that will be included in the result table.
274
268
If None, a default set of columns will be returned.
275
269
resolver : str, optional
276
- The resolver to use when resolving a named target into coordinates. Valid options are "SIMBAD" and "NED".
277
- If not specified, the default resolver order will be used. Please see the
270
+ Default is None. The resolver to use when resolving a named target into coordinates. Valid options are
271
+ "SIMBAD" and "NED". If not specified, the default resolver order will be used. Please see the
278
272
`STScI Archive Name Translation Application (SANTA) <https://mastresolver.stsci.edu/Santa-war/>`__
279
273
for more information. Default is None.
280
274
**criteria
@@ -339,22 +333,19 @@ def query_object_async(self, objectname, *, radius=3*u.arcmin, limit=5000, offse
339
333
objectname : str
340
334
The name of the target around which to search.
341
335
radius : str or `~astropy.units.Quantity` object, optional
342
- Default 3 arcmin.
343
- The string must be parsable by `~astropy.coordinates.Angle`.
344
- The appropriate `~astropy.units.Quantity` object from
345
- `~astropy.units` may also be used. Defaults to 3 arcminutes.
336
+ Default is 3 arcminutes. The radius around the coordinates to search within.
337
+ The string must be parsable by `~astropy.coordinates.Angle`. The
338
+ appropriate `~astropy.units.Quantity` object from `~astropy.units` may also be used.
346
339
limit : int
347
- Optional and default is 5000.
348
- the maximum number of dataset IDs in the results.
340
+ Default is 5000. The maximum number of dataset IDs in the results.
349
341
offset : int
350
- Optional and default is 0.
351
- the number of records you wish to skip before selecting records.
352
- select_cols: list, None
353
- Default None. Names of columns that will be included in the result table.
342
+ Default is 0. The number of records you wish to skip before selecting records.
343
+ select_cols: list, optional
344
+ Default is None. Names of columns that will be included in the result table.
354
345
If None, a default set of columns will be returned.
355
346
resolver : str, optional
356
- The resolver to use when resolving a named target into coordinates. Valid options are "SIMBAD" and "NED".
357
- If not specified, the default resolver order will be used. Please see the
347
+ Default is None. The resolver to use when resolving a named target into coordinates. Valid options are
348
+ "SIMBAD" and "NED". If not specified, the default resolver order will be used. Please see the
358
349
`STScI Archive Name Translation Application (SANTA) <https://mastresolver.stsci.edu/Santa-war/>`__
359
350
for more information. Default is None.
360
351
**criteria
0 commit comments