FirstClass¶
-
class
astroquery.image_cutouts.first.
FirstClass
[source]¶ Bases:
astroquery.query.BaseQuery
Attributes Summary
Methods Summary
get_images
(coordinates[, image_size, …])Fetches image cutouts from FIRST survey.
get_images_async
(coordinates[, image_size, …])Fetches image cutouts from FIRST survey.
Attributes Documentation
-
TIMEOUT
= 60¶
-
URL
= 'https://third.ucllnl.org/cgi-bin/firstcutout'¶
-
maximsize
= 1024¶
Methods Documentation
-
get_images
(coordinates, image_size=<Quantity 1. arcmin>, *, get_query_payload=False)[source]¶ Fetches image cutouts from FIRST survey.
- Parameters
- coordinatesstr or
astropy.coordinates
object The target around which to search. It may be specified as a string in which case it is resolved using online services or as the appropriate
astropy.coordinates
object. ICRS coordinates may also be entered as strings as specified in theastropy.coordinates
module.- image_sizestr or
Quantity
object, optional The string must be parsable by
astropy.coordinates.Angle
. The appropriateQuantity
object fromastropy.units
may also be used. Specifies the symmetric size of the image. Defaults to 1 arcmin.- maximsizeint, optional
Specify the maximum image size (in pixels on each dimension) that will be returned. Max is 2048.
- get_query_payloadbool, optional
if set to
True
then returns the dictionary sent as the HTTP request. Defaults toFalse
- coordinatesstr or
- Returns
- A list of
HDUList
objects
- A list of
-
get_images_async
(coordinates, image_size=<Quantity 1. arcmin>, *, get_query_payload=False)[source]¶ Fetches image cutouts from FIRST survey.
- Parameters
- coordinatesstr or
astropy.coordinates
object The target around which to search. It may be specified as a string in which case it is resolved using online services or as the appropriate
astropy.coordinates
object. ICRS coordinates may also be entered as strings as specified in theastropy.coordinates
module.- image_sizestr or
Quantity
object, optional The string must be parsable by
astropy.coordinates.Angle
. The appropriateQuantity
object fromastropy.units
may also be used. Specifies the symmetric size of the image. Defaults to 1 arcmin.- maximsizeint, optional
Specify the maximum image size (in pixels on each dimension) that will be returned. Max is 2048.
- get_query_payloadbool, optional
if set to
True
then returns the dictionary sent as the HTTP request. Defaults toFalse
- coordinatesstr or
- Returns
- response
requests.Response
The HTTP response returned from the service
- response
-