Bases: astroquery.query.BaseQuery
The class for querying the Simbad web service.
Attributes Summary
ROW_LIMIT | int(x=0) -> int or long |
SIMBAD_URL | str(object=’‘) -> string |
TIMEOUT | int(x=0) -> int or long |
VOTABLE_FIELDS | list() -> new empty list |
WILDCARDS |
Methods Summary
get_field_description(*args, **kwds) | Displays a description of the VOTable field :Parameters: field_name : str the name of the field to describe. |
list_votable_fields(*args, **kwds) | Lists all the fields that can be fetched for a VOTable. |
list_wildcards(*args, **kwds) | Displays the available wildcards that may be used in Simbad queries and their usage. |
query_bibcode(*args, **kwds) | Queries the references corresponding to a given bibcode, and returns the results in an astropy.table.Table. |
query_bibcode_async(*args, **kwds) | Serves the same function as astoquery.simbad.Simbad.query_bibcode, but only collects the reponse from the Simbad server and returns. |
query_bibobj(*args, **kwds) | Query all the objects that are contained in the article specified by the bibcode, and return results as an astropy.table.Table. |
query_bibobj_async(*args, **kwds) | Serves the same function as astoquery.simbad.Simbad.query_bibobj, but only collects the reponse from the Simbad server and returns. |
query_catalog(*args, **kwds) | Queries a whole catalog. |
query_catalog_async(*args, **kwds) | Serves the same function as astoquery.simbad.Simbad.query_catalog, but only collects the reponse from the Simbad server and returns. |
query_object(*args, **kwds) | Queries Simbad for the given object and returns the result as an astropy.table.Table. |
query_object_async(*args, **kwds) | Serves the same function as astoquery.simbad.Simbad.query_object, but only collects the reponse from the Simbad server and returns. |
query_region(*args, **kwds) | Queries around an object or coordinates as per the specified radius and returns the results in an astropy.table.Table. |
query_region_async(*args, **kwds) | Serves the same function as astoquery.simbad.Simbad.query_region, but only collects the reponse from the Simbad server and returns. |
reset_votable_fields(*args, **kwds) | resets VOTABLE_FIELDS to defaults |
rm_votable_fields(*args, **kwds) | Removes the specified field names from astroquery.simbad.Simbad.VOTABLE_FIELDS |
set_votable_fields(*args, **kwds) | Sets fields to be fetched in the VOTable. |
Attributes Documentation
Methods Documentation
Displays a description of the VOTable field
Parameters : | field_name : str
|
---|
Lists all the fields that can be fetched for a VOTable.
Displays the available wildcards that may be used in Simbad queries and their usage.
Queries the references corresponding to a given bibcode, and returns the results in an astropy.table.Table. Wildcards may be used to specify bibcodes
Parameters : | bibcode : str
wildcard : boolean, optional |
---|---|
Returns : | `astropy.table.Table` :
|
Serves the same function as astoquery.simbad.Simbad.query_bibcode, but only collects the reponse from the Simbad server and returns.
Parameters : | bibcode : str
wildcard : boolean, optional |
---|---|
Returns : | response : requests.response object
|
Query all the objects that are contained in the article specified by the bibcode, and return results as an astropy.table.Table.
Parameters : | bibcode : str
|
---|---|
Returns : | `astropy.table.Table` :
|
Serves the same function as astoquery.simbad.Simbad.query_bibobj, but only collects the reponse from the Simbad server and returns.
Parameters : | bibcode : str
|
---|---|
Returns : | response : requests.response object
|
Queries a whole catalog. Results may be very large -number of rows should be controlled by configuring astroquery.simbad.ROW_LIMIT.
Parameters : | catalog : str
|
---|---|
Returns : | `astropy.table.Table` :
|
Serves the same function as astoquery.simbad.Simbad.query_catalog, but only collects the reponse from the Simbad server and returns.
Parameters : | catalog : str
|
---|---|
Returns : | response : requests.response object
|
Queries Simbad for the given object and returns the result as an astropy.table.Table. Object names may also be specified with wildcard. See examples below.
Parameters : | object_name : str
wildcard : boolean, optional |
---|---|
Returns : | `astropy.table.Table` :
|
Serves the same function as astoquery.simbad.Simbad.query_object, but only collects the reponse from the Simbad server and returns.
Parameters : | object_name : str
wildcard : boolean, optional |
---|---|
Returns : | response : requests.response
|
Queries around an object or coordinates as per the specified radius and returns the results in an astropy.table.Table.
Parameters : | coordinates : str/astropy.coordinates
radius : str/astropy.units.Qunatity, optional
equinox : float, optional
epoch : str, optional
|
---|---|
Returns : | `astropy.table.Table` :
|
Serves the same function as astoquery.simbad.Simbad.query_region, but only collects the reponse from the Simbad server and returns.
Parameters : | coordinates : str/astropy.coordinates
radius : str/astropy.units.Qunatity, optional
equinox : float, optional
epoch : str, optional
|
---|---|
Returns : | response : requests.response object
|
resets VOTABLE_FIELDS to defaults
Removes the specified field names from astroquery.simbad.Simbad.VOTABLE_FIELDS
Parameters : | list of field_names to be removed : |
---|
Sets fields to be fetched in the VOTable. Must be one of those listed by astroquery.simbad.Simbad.list_votable_fields.
Parameters : | list of field_names : |
---|