astroquery:docs

Magpis

class astroquery.magpis.core.Magpis[source] [edit on github]

Bases: astroquery.query.BaseQuery

Attributes Summary

TIMEOUT int(x=0) -> int or long
URL str(object=’‘) -> string
surveys list() -> new empty list

Methods Summary

get_images(*args, **kwds) Fetches image cutouts from MAGPIS surveys.
get_images_async(*args, **kwds) Fetches image cutouts from MAGPIS surveys.
list_surveys(*args, **kwds) Return a list of surveys for MAGPIS

Attributes Documentation

TIMEOUT = 60
URL = 'http://third.ucllnl.org/cgi-bin/gpscutout'
surveys = ['gps6epoch3', 'gps6epoch4', 'gps20', 'gps20new', 'gps90', 'gpsmsx', 'gpsmsx2', 'gpsglimpse36', 'gpsglimpse45', 'gpsglimpse58', 'gpsglimpse80', 'mipsgal', 'bolocam']

Methods Documentation

static get_images(*args, **kwds)[source] [edit on github]

Fetches image cutouts from MAGPIS surveys.

Parameters :

coordinates : str 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 the astropy.coordinates module.

radius : str or astropy.units.Quantity object, optional

The string must be parsable by astropy.coordinates.Angle. The appropriate Quantity object from astropy.units may 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().

get_query_payload : bool, optional

if set to True then returns the dictionary sent as the HTTP request. Defaults to False

Returns :

A list of `astropy.fits.HDUList` objects :

static get_images_async(*args, **kwds)[source] [edit on github]

Fetches image cutouts from MAGPIS surveys.

Parameters :

coordinates : str 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 the astropy.coordinates module.

radius : str or astropy.units.Quantity object, optional

The string must be parsable by astropy.coordinates.Angle. The appropriate Quantity object from astropy.units may 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().

get_query_payload : bool, optional

if set to True then returns the dictionary sent as the HTTP request. Defaults to False

Returns :

response : requests.Response

The HTTP response returned from the service

static list_surveys(*args, **kwds)[source] [edit on github]

Return a list of surveys for MAGPIS

Page Contents