Skip to main content

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.

Metadata

Release files for atooms-landscape 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for atooms-landscape 2.0.1
File Interpreter ABI Platform Actions
atooms_landscape-2.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for atooms_landscape-2.0.1-py2.py3-none-any.whl

Release files / atooms_landscape-2.0.1-py2.py3-none-any.whl

Download URL atooms_landscape-2.0.1-py2.py3-none-any.whl
Size 21.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
311b403b99126339ff7ceb00af8c99d0b036b0d4fa1bc1abfd6c77e3dfad815a
BLAKE2b-256 checksum
How to use checksums
da99549f0234d34fef317bd77e07a432643b1e366dd523b2704641f39bdb57b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for atooms-landscape 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page