Bases: astroquery.query.BaseQuery
Attributes Summary
DUST_SERVICE_URL | str(object=’‘) -> string |
TIMEOUT | int(x=0) -> int or long |
image_type_to_section |
Methods Summary
extract_image_urls(*args, **kwds) | Extracts the image URLs from the query results and returns these as a list. |
get_extinction_table(*args, **kwds) | Query function that fetches the extinction table from the query result :Parameters: coordinate : str Can be either the name of an object or a coordinate string If a name, must be resolveable by NED, SIMBAD, 2MASS, or SWAS. |
get_extinction_table_async(*args, **kwds) | A query function similar to astroquery.irsa_dust.IrsaDust.get_extinction_table but returns a file-handler to the remote files rather than downloading it. |
get_image_list(*args, **kwds) | Query function that performes coordinate-based query and returns a list of URLs to the Irsa-Dust images :Parameters: coordinate : str Can be either the name of an object or a coordinate string If a name, must be resolveable by NED, SIMBAD, 2MASS, or SWAS. |
get_images(*args, **kwds) | A query function that performs a coordinate-based query to acquire Irsa-Dust images :Parameters: coordinate : str Can be either the name of an object or a coordinate string If a name, must be resolveable by NED, SIMBAD, 2MASS, or SWAS. |
get_images_async(*args, **kwds) | A query function similar to astroquery.irsa_dust.IrsaDust.get_images but returns file-handlers to the remote files rather than downloading them. |
get_query_table(*args, **kwds) | Create and return an astropy Table representing the query response(s). |
list_image_types(*args, **kwds) | Returns a list of image_types available in the Irsa Dust |
Attributes Documentation
Methods Documentation
Extracts the image URLs from the query results and returns these as a list. If section is missing or all returns all the URLs, otherwise returns URL corresponding to the section specified (emission, reddening, temperature).
Parameters : | raw_xml : str
image_type : str, optional
|
---|---|
Returns : | url_list : list
|
Query function that fetches the extinction table from the query result
Parameters : | coordinate : str
radius : str/astropy.units.Quantity, optional
timeout : int, optional
|
---|---|
Returns : | table : astropy.table.Table |
A query function similar to astroquery.irsa_dust.IrsaDust.get_extinction_table but returns a file-handler to the remote files rather than downloading it. Useful for asynchronous queries so that the actual download may be performed later.
Parameters : | coordinate : str
radius : str, optional
timeout : int, optional
|
---|---|
Returns : | A context manager that yields a file like readable object : |
Query function that performes coordinate-based query and returns a list of URLs to the Irsa-Dust images
Parameters : | coordinate : str
radius : str/astropy.units.Quantity, optional
image_type : str, optional
timeout : int, optional
get_query_payload : bool
|
---|---|
Returns : | A list of URLs to the FITS images corresponding to the queried object : |
A query function that performs a coordinate-based query to acquire Irsa-Dust images
Parameters : | coordinate : str
radius : str/astropy.units.Quantity, optional
image_type : str, optional
timeout : int, optional
get_query_payload : bool, optional
|
---|---|
Returns : | A list of `astropy.fits.HDUList` objects : |
A query function similar to astroquery.irsa_dust.IrsaDust.get_images but returns file-handlers to the remote files rather than downloading them. Useful for asynchronous queries so that the actual download may be performed later.
Parameters : | coordinate : str
radius : str/astropy.units.Quantity, optional
image_type : str, optional
timeout : int, optional
get_query_payload : bool, optional
|
---|---|
Returns : | A list of context-managers that yield readable file-like objects : |
Create and return an astropy Table representing the query response(s). When section is missing, returns the full table. When a section is specified (location, extinction, ebv, or 100um), only that portion of the table is returned.
Parameters : | coordinate : str
radius : str/astropy.units.Quantity, optional
section : str, optional
timeout : int, optional
url : str, optional
|
---|---|
Returns : | table : astropy.table.Table
|
Returns a list of image_types available in the Irsa Dust query results