Skip to content

Commit 2f2c903

Browse files
authored
Merge pull request #3527 from cds-astro/vizier-document-query-object-radius
vizier: add precisions about query_object
2 parents 7ba4994 + 81f2ac5 commit 2f2c903

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

astroquery/vizier/core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ def query_object_async(self, object_name, *, catalog=None, radius=None,
359359
Serves the same purpose as `query_object` but only
360360
returns the HTTP response rather than the parsed result.
361361
362+
This resolves the object name into coordinates and searches around these in a
363+
small radius.
364+
362365
Parameters
363366
----------
364367
object_name : str
@@ -367,7 +370,7 @@ def query_object_async(self, object_name, *, catalog=None, radius=None,
367370
The catalog(s) which must be searched for this identifier.
368371
If not specified, all matching catalogs will be searched.
369372
radius : `~astropy.units.Quantity` or None
370-
A degree-equivalent radius (optional).
373+
A degree-equivalent radius (optional). It defaults to 2 arcmins.
371374
coordinate_system : str or None
372375
If the object name is given as a coordinate, you *should* use
373376
`~astroquery.vizier.VizierClass.query_region`, but you can

docs/vizier/vizier.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Query an object
187187
---------------
188188

189189

190-
For instance to query Sirius across all catalogs:
190+
For instance to query around Sirius across all catalogs:
191191

192192
.. doctest-remote-data::
193193

@@ -201,6 +201,8 @@ For instance to query Sirius across all catalogs:
201201
'2:I/34/greenw2a' with 16 column(s) and 1 row(s)
202202
...
203203

204+
The default radius is 2 arc minutes.
205+
204206
All the results are returned as a `~astroquery.utils.TableList` object. This
205207
is a container for `~astropy.table.Table` objects. It is basically an
206208
extension to `~collections.OrderedDict` for storing a `~astropy.table.Table`

0 commit comments

Comments
 (0)