Skip to main content

Atomic Simulation Environment

Project description

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

Webpage: http://wiki.fysik.dtu.dk/ase

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.23.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

ase-3.23.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ase-3.23.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for ase-3.23.0.tar.gz
Algorithm Hash digest
SHA256 91a2aa31d89bd90b0efdfe4a7e84264f32828b2abfc9f38e65e041ad76fec8ae
MD5 dac9c0979ecee99e38188f2e6898a71c
BLAKE2b-256 086bfd582d013c28aeae14df1a6fc2f057dea6c2b7e62ae1632699e59bb3f7d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ase-3.23.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for ase-3.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52060410e720b6c701ea1ebecfdeb5ec6f9c1c63edc7cee68c15bd66d226dd43
MD5 88c13c424e1be27378fa7d7429e6398a
BLAKE2b-256 02812c339c920fb1be1caa0b7efccb14452c9f4f0dbe3837f33519610611f57b

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