1
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2 1
"""
3
IRSA Galactic Dust Reddening and Extinction Query Tool
4
======================================================
5

6
.. topic:: Revision History
7

8
    Refactored using common API as a part of Google Summer of Code 2013.
9

10
    :Originally contributed by: David Shiga (dshiga.dev@gmail.com)
11
"""
12 1
from astropy import config as _config
13

14

15 1
class Conf(_config.ConfigNamespace):
16
    """
17
    Configuration parameters for `astroquery.irsa_dust`.
18
    """
19
    # maintain a list of URLs in case the user wants to append a mirror
20 1
    server = _config.ConfigItem(
21
        ['https://irsa.ipac.caltech.edu/cgi-bin/DUST/nph-dust'],
22
        'Name of the irsa_dust server to use.')
23 1
    timeout = _config.ConfigItem(
24
        30,
25
        'Default timeout for connecting to server.')
26

27

28 1
conf = Conf()
29

30

31 1
from .core import IrsaDust, IrsaDustClass
32

33 1
__all__ = ['IrsaDust', 'IrsaDustClass',
34
           'Conf', 'conf',
35
           ]

Read our documentation on viewing source code .

Loading