astropy / astroquery
1
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2 1
"""
3
Besancon Query Tool
4
-------------------
5
A tool to query the Besancon model of the galaxy
6
http://model.obs-besancon.fr/
7

8
:Author: Adam Ginsburg (adam.g.ginsburg@gmail.com)
9
"""
10 1
from astropy import config as _config
11

12

13 1
class Conf(_config.ConfigNamespace):
14
    """
15
    Configuration parameters for `astroquery.besancon`.
16
    """
17

18 1
    download_url = _config.ConfigItem(
19
        ['ftp://sasftp.obs-besancon.fr/modele/modele2003/',
20
         'ftp://sasftp.obs-besancon.fr/modele/',
21
         ],
22
        'Besancon download URL.  Changed to modele2003 in 2013.')
23 1
    model_form = _config.ConfigItem(
24
        ['http://model.obs-besancon.fr/modele_form.php'],
25
        'Besancon model form URL')
26 1
    ping_delay = _config.ConfigItem(
27
        30.0,
28
        'Amount of time before pinging the Besancon server to see if the '
29
        'file is ready.  Minimum 30s.')
30 1
    timeout = _config.ConfigItem(
31
        30.0,
32
        'Timeout for Besancon query')
33

34

35 1
conf = Conf()
36

37 1
from .core import (Besancon, BesanconClass, parse_besancon_model_string,
38
                   parse_besancon_model_file)
39

40 1
__all__ = ['Besancon', 'BesanconClass',
41
           'parse_besancon_model_file',
42
           'parse_besancon_model_string',
43
           'Conf', 'conf',
44
           ]

Read our documentation on viewing source code .

Loading