Skip to main content

Energy landscape analysis tools built with atooms

Project description

Energy landscape

pypi version license Binder pipeline coverage report

Energy landscape analysis tools built with atooms.

Quick start

Find the minimum of the potential energy surface (PES) of a Lennard-Jones trimer

from atooms.landscape import conjugate_gradient
from atooms.system import Particle, Cell, System
from atooms.models.f90 import Interaction

system = System()
system.particle = [Particle(species=1, position=[0., 0., 0.]),
                   Particle(species=1, position=[0.5, 1., -.1]),
                   Particle(species=1, position=[1.1, 0.1, 0.1])]
system.cell = Cell([10., 10., 10.])
system.interaction = Interaction('lennard_jones')
result = conjugate_gradient(system)
distance = sum(system.particle[0].distance(system.particle[1])**2)**0.5
assert abs(distance - 1.12246) < 1e-5

Features

  • Optimization methods to find local minima of the PES
    • Steepest descent
    • Conjugate gradients
    • l-BFGS
    • Fast inertial relaxation engine (FIRE)
  • Optimization methods to find stationary points of the PES
    • Eigenvector-following
    • Square-force minimization
  • Normal modes analysis

Documentation

Check out the tutorial for more examples and the public API for full details.

Org-mode and jupyter notebooks are available under docs/. You can run the tutorial interactively on Binder.

Installation

From pypi

pip install atooms-landscape

You can clone the code repository and install from source

git clone https://framagit.org/atooms/landscape.git
cd landscape
make install

Contributing

Contributions to the project are welcome. If you wish to contribute, check out these guidelines.

Authors

Daniele Coslovich: https://www.units.it/daniele.coslovich/

Thanks go to Ginevra Lautizi for her contribution to code testing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

atooms_landscape-2.0.1-py2.py3-none-any.whl (21.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file atooms_landscape-2.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for atooms_landscape-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 311b403b99126339ff7ceb00af8c99d0b036b0d4fa1bc1abfd6c77e3dfad815a
MD5 82bdc8f3189b01fd064894d82001e53b
BLAKE2b-256 da99549f0234d34fef317bd77e07a432643b1e366dd523b2704641f39bdb57b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page