CasdaClass¶
-
class
astroquery.casda.CasdaClass[source]¶ Bases:
astroquery.query.BaseQueryClass for accessing ASKAP data through the CSIRO ASKAP Science Data Archive (CASDA). Typical usage:
result = Casda.query_region(‘22h15m38.2s -45d50m30.5s’, radius=0.5 * u.deg)
Attributes Summary
TIMEOUTURLMethods Summary
query_region(*args, **kwargs)Queries the service and returns a table object. query_region_async(coordinates[, radius, …])Queries a region around the specified coordinates. Attributes Documentation
-
TIMEOUT= 30¶
-
URL= 'https://casda.csiro.au/casda_vo_tools/sia2/query'¶
Methods Documentation
-
query_region(*args, **kwargs)¶ Queries the service and returns a table object.
Queries a region around the specified coordinates. Either a radius or both a height and a width must be provided.
Parameters: coordinates : str or
astropy.coordinates.coordinates around which to query
radius : str or
astropy.units.Quantity.the radius of the cone search
width : str or
astropy.units.Quantitythe width for a box region
height : str or
astropy.units.Quantitythe height for a box region
get_query_payload : bool, optional
Just return the dict of HTTP request parameters.
cache: bool, optional
Use the astroquery internal query result cache
Returns: table : A
Tableobject.
-
query_region_async(coordinates, radius=None, height=None, width=None, get_query_payload=False, cache=True)[source]¶ Queries a region around the specified coordinates. Either a radius or both a height and a width must be provided.
Parameters: coordinates : str or
astropy.coordinates.coordinates around which to query
radius : str or
astropy.units.Quantity.the radius of the cone search
width : str or
astropy.units.Quantitythe width for a box region
height : str or
astropy.units.Quantitythe height for a box region
get_query_payload : bool, optional
Just return the dict of HTTP request parameters.
cache: bool, optional
Use the astroquery internal query result cache
Returns: response :
requests.ResponseThe HTTP response returned from the service. All async methods should return the raw HTTP response.
-