__init__.py 736 Bytes
Newer Older
1
2
3
4
# -*- coding: utf-8 -*-

"""Top-level package for arosics."""

5
import warnings
6
from importlib import util
7

8
9
10
11
12
from arosics.CoReg import COREG
from arosics.CoReg_local import COREG_LOCAL
from arosics.DeShifter import DESHIFTER
from arosics.Tie_Point_Grid import Tie_Point_Grid

Daniel Scheffler's avatar
Daniel Scheffler committed
13
14
15
from .version import __version__, __versionalias__   # noqa (E402 + F401)


16
17
__author__ = """Daniel Scheffler"""
__email__ = 'daniel.scheffler@gfz-potsdam.de'
18
19
20
21
__all__ = ['COREG',
           'COREG_LOCAL',
           'DESHIFTER',
           'Tie_Point_Grid']
22

23
24

# check optional dependencies
25
if not util.find_spec('pyfftw'):
26
27
    warnings.warn('PYFFTW library is missing. However, coregistration works. But in some cases it can be much slower.')

28
del util, warnings