MagpisClass¶
-
class
astroquery.magpis.MagpisClass[source]¶ Bases:
astroquery.query.BaseQueryAttributes Summary
TIMEOUTURLmaximsizesurveysMethods Summary
get_images(coordinates[, image_size, …])Fetches image cutouts from MAGPIS surveys. get_images_async(coordinates[, image_size, …])Fetches image cutouts from MAGPIS surveys. list_surveys()Return a list of surveys for MAGPIS Attributes Documentation
-
TIMEOUT= 60¶
-
URL= 'https://third.ucllnl.org/cgi-bin/gpscutout'¶
-
maximsize= 1024¶
-
surveys= ['gps6', 'gps6epoch2', 'gps6epoch3', 'gps6epoch4', 'gps20', 'gps20new', 'gps90', 'gpsmsx', 'gpsmsx2', 'gpsglimpse36', 'gpsglimpse45', 'gpsglimpse58', 'gpsglimpse80', 'mipsgal', 'atlasgal', 'bolocam']¶
Methods Documentation
-
get_images(coordinates, image_size=<Quantity 1. arcmin>, survey='bolocam', get_query_payload=False)[source]¶ Fetches image cutouts from MAGPIS surveys.
Parameters: coordinates : str or
astropy.coordinatesobjectThe 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.coordinatesobject. ICRS coordinates may also be entered as strings as specified in theastropy.coordinatesmodule.image_size : str or
Quantityobject, optionalThe string must be parsable by
astropy.coordinates.Angle. The appropriateQuantityobject fromastropy.unitsmay also be used. Specifies the symmetric size of the image. Defaults to 1 arcmin.survey : str, optional
The MAGPIS survey you want to cut out. Defaults to ‘bolocam’. The other surveys that can be used can be listed via
list_surveys().maximsize : int, optional
Specify the maximum image size (in pixels on each dimension) that will be returned. Max is 2048.
get_query_payload : bool, optional
Returns: A list of
HDUListobjects
-
get_images_async(coordinates, image_size=<Quantity 1. arcmin>, survey='bolocam', get_query_payload=False)[source]¶ Fetches image cutouts from MAGPIS surveys.
Parameters: coordinates : str or
astropy.coordinatesobjectThe 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.coordinatesobject. ICRS coordinates may also be entered as strings as specified in theastropy.coordinatesmodule.image_size : str or
Quantityobject, optionalThe string must be parsable by
astropy.coordinates.Angle. The appropriateQuantityobject fromastropy.unitsmay also be used. Specifies the symmetric size of the image. Defaults to 1 arcmin.survey : str, optional
The MAGPIS survey you want to cut out. Defaults to ‘bolocam’. The other surveys that can be used can be listed via
list_surveys().maximsize : int, optional
Specify the maximum image size (in pixels on each dimension) that will be returned. Max is 2048.
get_query_payload : bool, optional
Returns: response :
requests.ResponseThe HTTP response returned from the service
-