Skip to main content

Atomic Simulation Environment

Project description

https://gitlab.com/ase/ase/-/raw/master/doc/static/ase256.png

https://badge.fury.io/py/ase.svg https://gitlab.com/ase/ase/badges/master/coverage.svg?job=coverage-combine

ASE is a set of tools and Python modules for setting up, manipulating, running, visualizing and analyzing atomistic simulations.

Webpage: https://ase-lib.org/

Requirements

Optional:

  • Flask (for ase.db web-interface)

  • spglib (for symmetry operations)

Installation

To install the latest release:

pip install ase

To install the development version:

pip install git+https://gitlab.com/ase/ase.git

Testing

Please run the tests:

$ ase test  # takes 1 min.

and send us the output if there are failing tests.

Contact

Feel free to create Merge Requests and Issues on our GitLab page: https://gitlab.com/ase/ase

For regular support, please use the mailing list or chat rather than GitLab.

Example

Geometry optimization of hydrogen molecule with NWChem:

>>> from ase import Atoms
>>> from ase.optimize import BFGS
>>> from ase.calculators.nwchem import NWChem
>>> from ase.io import write
>>> h2 = Atoms('H2',
               positions=[[0, 0, 0],
                          [0, 0, 0.7]])
>>> h2.calc = NWChem(xc='PBE')
>>> opt = BFGS(h2, trajectory='h2.traj')
>>> opt.run(fmax=0.02)
BFGS:   0  19:10:49    -31.435229     2.2691
BFGS:   1  19:10:50    -31.490773     0.3740
BFGS:   2  19:10:50    -31.492791     0.0630
BFGS:   3  19:10:51    -31.492848     0.0023
>>> write('H2.xyz', h2)
>>> h2.get_potential_energy()  # ASE's units are eV and Ang
-31.492847800329216

This example requires NWChem to be installed.

$ ase gui h2.traj

Project details


Download files

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

Source Distribution

ase-3.29.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ase-3.29.0-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file ase-3.29.0.tar.gz.

File metadata

  • Download URL: ase-3.29.0.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ase-3.29.0.tar.gz
Algorithm Hash digest
SHA256 ef4e2caa38169e3fbbc4164764a060d1877a6692519a4bed82521328eeb0d9aa
MD5 77763d426516944ae0a9935628578ec4
BLAKE2b-256 aa36cfe17324ea701d2caa479f25b134c54aeb36998443fd88c13e4f1af06f52

See more details on using hashes here.

File details

Details for the file ase-3.29.0-py3-none-any.whl.

File metadata

  • Download URL: ase-3.29.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ase-3.29.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b9dd103f007810339c24acfee2f6b677c0c48443b21d3c98e52959246cf4ebf
MD5 0fa7c69bcb83c02f37a4737718e40f70
BLAKE2b-256 66a6a3d29378618d3d9ba0962473f8bbf09a5ad15eb8b210c5153fb88d0b8aad

See more details on using hashes here.

Supported by

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