"""The PySpectrograph package holds the tasks to model and analyze spectroscopic
data from grating spectrographs.

These tasks include:

Spectrograph--The basic equations and components of a spectrograph
Models--models for different spectrographs
Spectra--classes for the handling of spectra
WavelengthSolutions--Methods for calculating the wavelength solution
Identify--Tasks to measure the wavelength solution
Utilities--General useful tasks

"""

from . import Utilities
from .Spectrograph import *
from . import Models
from . import Spectra
from .Spectra import *
from . import WavelengthSolution

__all__ = ['Identify', 'Models', 'Spectra', 'Spectrograph', 'Utilities', 'WavelengthSolution']
__version__ = 0.30


# general class for errors
class SpectrographError(Exception):

    """Exception Raised for Spectrograph errors"""
    pass


class PySpectrographError(Exception):

    """Exception Raised for PySpectrograph errors"""
    pass

"""The PySpectrograph package holds the tasks to model and analyze spectroscopic
data from grating spectrographs.

These tasks include:

Spectrograph--The basic equations and components of a spectrograph
Models--models for different spectrographs
Spectra--classes for the handling of spectra
WavelengthSolutions--Methods for calculating the wavelength solution
Identify--Tasks to measure the wavelength solution
Utilities--General useful tasks

"""
# Licensed under a 3-clause BSD style license - see LICENSE.rst

# Packages may add whatever they like to this file, but
# should keep this content at the top.
# ----------------------------------------------------------------------------
from ._astropy_init import *
# ----------------------------------------------------------------------------

if not _ASTROPY_SETUP_:
    # For egg_info test builds to pass, put package imports here.
    from . import Utilities
    from .Spectrograph import *
    from . import Models
    from . import Spectra
    from .Spectra import *
    from . import WavelengthSolution

    __all__ = ['Identify', 'Models', 'Spectra', 'Spectrograph', 'Utilities', 'WavelengthSolution']
__version__ = 0.30


# general class for errors
class SpectrographError(Exception):

    """Exception Raised for Spectrograph errors"""
    pass


class PySpectrographError(Exception):

    """Exception Raised for PySpectrograph errors"""
    pass

update of init file