Bases: astroquery.query.BaseQuery
Attributes Summary
QUERY_URL | str(object=’‘) -> string |
TIMEOUT | int(x=0) -> int or long |
ping_delay | float(x) -> floating point number |
result_re | Compiled regular expression objects |
url_download | str(object=’‘) -> string |
Methods Summary
get_besancon_model_file(*args, **kwds) | Download a Besancon model from the website :Parameters: filename : string The besancon filename, with format ##########.######.resu verbose : bool Print details about the download process timeout : float Amount of time to wait after pinging the server to see if a file is present. |
query(*args, **kwds) | Queries the service and returns a table object. |
query_async(*args, **kwds) | Perform a query on the Besancon model of the galaxy http://model.obs-besancon.fr/ :Parameters: email : string A valid e-mail address to send the report of completion to glon : float glat : float Galactic latitude and longitude at the center smallfield : bool Small field (True) or Large Field (False) LARGE FIELD NOT SUPPORTED YET extinction : float Extinction per kpc in A_V area : float Area in square degrees absmag_limits : (float,float) Absolute magnitude lower,upper limits colors_limits : dict of (float,float) Should contain 4 elements listing color differences in the valid bands, e.g.: {“J-H”:(99,-99),”H-K”:(99,-99),”J-K”:(99,-99),”V-K”:(99,-99)} mag_limits = dict of (float,float) : Lower and Upper magnitude difference limits for each magnitude band U B V R I J H K L clouds : list of 2-tuples Up to 25 line-of-sight clouds can be specified in pairs of (A_V, distance in pc) verbose : bool Print out extra error messages? kwargs : dict Can override any argument in the request if you know the name of the POST keyword. |
Attributes Documentation
Methods Documentation
Download a Besancon model from the website
Parameters : | filename : string
verbose : bool
timeout : float
|
---|
Queries the service and returns a table object. Perform a query on the Besancon model of the galaxy http://model.obs-besancon.fr/
Parameters : | email : string
glon : float glat : float
smallfield : bool
extinction : float
area : float
absmag_limits : (float,float)
colors_limits : dict of (float,float)
mag_limits = dict of (float,float) :
clouds : list of 2-tuples
verbose : bool
kwargs : dict
retrieve_file : bool
|
---|---|
Returns : | An `astropy.table.Table` object : |
Perform a query on the Besancon model of the galaxy http://model.obs-besancon.fr/
Parameters : | email : string
glon : float glat : float
smallfield : bool
extinction : float
area : float
absmag_limits : (float,float)
colors_limits : dict of (float,float)
mag_limits = dict of (float,float) :
clouds : list of 2-tuples
verbose : bool
kwargs : dict
retrieve_file : bool
|
---|---|
Returns : | response : requests.Response object
|