File: __init__.py

package info (click to toggle)
spectral-cube 0.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,136 kB
  • sloc: python: 13,236; makefile: 154
file content (26 lines) | stat: -rw-r--r-- 1,081 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Licensed under a 3-clause BSD style license - see LICENSE.rst

from ._astropy_init import __version__, test

from .spectral_cube import (SpectralCube, VaryingResolutionSpectralCube)
from .dask_spectral_cube import (DaskSpectralCube, DaskVaryingResolutionSpectralCube)
from .stokes_spectral_cube import StokesSpectralCube
from .masks import (MaskBase, InvertedMask, CompositeMask,
                    BooleanArrayMask, LazyMask, LazyComparisonMask,
                    FunctionMask)
from .lower_dimensional_structures import (OneDSpectrum, Projection, Slice)

# Import the following sub-packages to make sure the I/O functions are registered
from .io import casa_image
del casa_image
from .io import class_lmv
del class_lmv
from .io import fits
del fits

__all__ = ['SpectralCube', 'VaryingResolutionSpectralCube',
           'DaskSpectralCube', 'DaskVaryingResolutionSpectralCube',
            'StokesSpectralCube', 'CompositeMask', 'LazyComparisonMask',
            'LazyMask', 'BooleanArrayMask', 'FunctionMask',
            'OneDSpectrum', 'Projection', 'Slice'
            ]