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

  • Python 2.7, 3.4-3.6

  • NumPy (base N-dimensional array package)

Optional:

  • SciPy (library for scientific computing)

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

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
$ 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.14.1.tar.gz (1.4 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.14.1-py2-none-any.whl (1.5 MB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: ase-3.14.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ase-3.14.1.tar.gz
Algorithm Hash digest
SHA256 e65862336cf2633b7dfe03e9bddd9bd24e0fb88fa767b059ab6b6aeb35e94af2
MD5 33b04a3f6bf7658142d9175ada0547dc
BLAKE2b-256 74669648ef25e5a3aa642abf2cb7bffa05485b2582ca436ba731ee0f4f30b9da

See more details on using hashes here.

File details

Details for the file ase-3.14.1-py2-none-any.whl.

File metadata

  • Download URL: ase-3.14.1-py2-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ase-3.14.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b62fa7d17945cdad5582304bded10542e23e3c9c1fa8cc368b95b8dff9057b10
MD5 f7f0ee6326a7857598f9264b310413d9
BLAKE2b-256 9da56fca913cc2c5acfbc3ded7b7bbb85a6603f6288f9ef4d4ba2956a4c75b4f

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