Skip to main content

Atomic Simulation Environment

Reason this release was yanked:

Due to bad package configuration, pip would install this version on Python3.5 even though it requires Python3.6.

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

  • Python 3.6 or later

  • NumPy (base N-dimensional array package)

  • SciPy (library for scientific computing)

Optional:

  • For ASE’s GUI: Matplotlib (2D Plotting)

  • tkinter (for ase.gui)

  • Flask (for ase.db web-interface)

Installation

Add ~/ase to your $PYTHONPATH environment variable and add ~/ase/bin to $PATH (assuming ~/ase is where your ASE folder is).

Testing

Please run the tests:

$ ase test  # takes 1 min.

and send us the output if there are failing tests.

Contact

Please send us bug-reports, patches, code, ideas and questions.

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.20.0.tar.gz (1.9 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.20.0-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ase-3.20.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for ase-3.20.0.tar.gz
Algorithm Hash digest
SHA256 baddbd74f2157727aa7627dbd34f59554b24f5a00d1eb3aba4c933ccfccf71cb
MD5 c169bcb3445443b403b46ac793b24f3b
BLAKE2b-256 56e4258a174754a7df1322275df645bea34b68ae843a96d7bed18111afa7f8dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ase-3.20.0-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for ase-3.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80f10a16a199dc837f2869e45fbd57d996a126254df9307ccd742c3604ec0738
MD5 74d497d3e2cc64d300a7199753d932d5
BLAKE2b-256 fed2ee5c0da6145f42942f76dccd555061e5646d18b6c356d955b65c0e19dddb

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