__init__.py 1.58 KB
Newer Older
Gao, Xiang's avatar
Gao, Xiang committed
1
2
3
4
5
6
7
# -*- coding: utf-8 -*-
"""TorchANI is a PyTorch implementation of `ANI`_, created and maintained by
the `Roitberg group`_.  TorchANI contains classes like
:class:`AEVComputer`, :class:`ANIModel`, and :class:`EnergyShifter` that can
be pipelined to compute molecular energies from the 3D coordinates of
molecules.  It also include tools to: deal with ANI datasets(e.g. `ANI-1`_,
`ANI-1x`_, `ANI-1ccx`_, etc.) at :attr:`torchani.data`, import various file
Gao, Xiang's avatar
Gao, Xiang committed
8
formats of NeuroChem at :attr:`torchani.neurochem`, and more at :attr:`torchani.utils`.
Gao, Xiang's avatar
Gao, Xiang committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

.. _ANI:
    http://pubs.rsc.org/en/Content/ArticleLanding/2017/SC/C6SC05720A#!divAbstract

.. _Roitberg group:
    https://roitberg.chem.ufl.edu/

.. _ANI-1:
    https://www.nature.com/articles/sdata2017193

.. _ANI-1x:
    https://aip.scitation.org/doi/abs/10.1063/1.5023802

.. _ANI-1ccx:
    https://doi.org/10.26434/chemrxiv.6744440.v1
"""

Gao, Xiang's avatar
Gao, Xiang committed
26
from .utils import EnergyShifter
27
from .nn import ANIModel, Ensemble, SpeciesConverter
28
from .aev import AEVComputer
Gao, Xiang's avatar
Gao, Xiang committed
29
from . import utils
30
from . import neurochem
Gao, Xiang's avatar
Gao, Xiang committed
31
from . import models
32
from . import optim
Gao, Xiang's avatar
Gao, Xiang committed
33
34
35
36
37
38
39
from pkg_resources import get_distribution, DistributionNotFound

try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    # package is not installed
    pass
Xiang Gao's avatar
Xiang Gao committed
40

41
__all__ = ['AEVComputer', 'EnergyShifter', 'ANIModel', 'Ensemble', 'SpeciesConverter',
42
           'utils', 'neurochem', 'models', 'optim']
Gao, Xiang's avatar
Gao, Xiang committed
43
44
45
46
47
48

try:
    from . import ase  # noqa: F401
    __all__.append('ase')
except ImportError:
    pass
49

50
51
52
53
54
try:
    from . import data  # noqa: F401
    __all__.append('data')
except ImportError:
    pass