Skip to main content

Atomic Simulation Environment for Koopmans

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

ASE for Koopmans is a modified version of ASE that contains modifications specific to Koopmans functionals. Ultimately we hope that these changes will be merged with the official version of ASE.

ASE-Koopmans was forked from ASE v3.20.0b1.

Webpage: https://koopmans-functionals.org/

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

For ASE

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

For Koopmans

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_koopmans-0.1.6.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

ase_koopmans-0.1.6-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file ase_koopmans-0.1.6.tar.gz.

File metadata

  • Download URL: ase_koopmans-0.1.6.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for ase_koopmans-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4e57a7c9b35f4e9aae0cfb343d1f156d10b710c60e2fc5b2c991c75c25914930
MD5 a39f623f7816d97a4c8c09c1b7bfe72e
BLAKE2b-256 18b1ab7537aef976bf29a3bbe7c90f65fbdeb25c110876770b95b363fc79980f

See more details on using hashes here.

File details

Details for the file ase_koopmans-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ase_koopmans-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3a38110719d86ebcbc75580d3fa2721cea5f6eb5a08d472fe10f43dc4dd8aa50
MD5 6e9e521ae13fc2d9614d8d9daebb3dc5
BLAKE2b-256 e73fa05453e5879bd78f2d9d4fada0625e4d186a75916332e0195cd50a84c9a0

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