ase


Namease JSON
Version 3.22.1 PyPI version JSON
download
home_pagehttps://wiki.fysik.dtu.dk/ase
SummaryAtomic Simulation Environment
upload_time2021-12-01 12:51:29
maintainerASE-community
docs_urlNone
author
requires_python>=3.6
licenseLGPLv2.1+
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Atomic Simulation Environment
=============================

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
-------

* Mailing list: ase-users_
* IRC_: #ase on freenode.net

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


.. _Python: http://www.python.org/
.. _NumPy: http://docs.scipy.org/doc/numpy/reference/
.. _SciPy: http://docs.scipy.org/doc/scipy/reference/
.. _Matplotlib: http://matplotlib.org/
.. _ase-users: https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
.. _IRC: http://webchat.freenode.net/?randomnick=0&channels=ase



            

Raw data

            {
    "_id": null,
    "home_page": "https://wiki.fysik.dtu.dk/ase",
    "name": "ase",
    "maintainer": "ASE-community",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "ase-users@listserv.fysik.dtu.dk",
    "keywords": "",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/69/64/096410b2e0b58aee082b40a37cdd61e708ed722a7471d7cf0e2dcb01cade/ase-3.22.1.tar.gz",
    "platform": "unix",
    "description": "Atomic Simulation Environment\n=============================\n\nASE is a set of tools and Python modules for setting up, manipulating,\nrunning, visualizing and analyzing atomistic simulations.\n\nWebpage: http://wiki.fysik.dtu.dk/ase\n\n\nRequirements\n------------\n\n* Python_ 3.6 or later\n* NumPy_ (base N-dimensional array package)\n* SciPy_ (library for scientific computing)\n\nOptional:\n\n\n* For ASE's GUI: Matplotlib_ (2D Plotting)\n* tkinter (for ase.gui)\n* Flask (for ase.db web-interface)\n\n\nInstallation\n------------\n\nAdd ``~/ase`` to your $PYTHONPATH environment variable and add\n``~/ase/bin`` to $PATH (assuming ``~/ase`` is where your ASE folder is).\n\n\nTesting\n-------\n\nPlease run the tests::\n\n    $ ase test  # takes 1 min.\n\nand send us the output if there are failing tests.\n\n\nContact\n-------\n\n* Mailing list: ase-users_\n* IRC_: #ase on freenode.net\n\nPlease send us bug-reports, patches, code, ideas and questions.\n\n\nExample\n-------\n\nGeometry optimization of hydrogen molecule with NWChem:\n\n>>> from ase import Atoms\n>>> from ase.optimize import BFGS\n>>> from ase.calculators.nwchem import NWChem\n>>> from ase.io import write\n>>> h2 = Atoms('H2',\n               positions=[[0, 0, 0],\n                          [0, 0, 0.7]])\n>>> h2.calc = NWChem(xc='PBE')\n>>> opt = BFGS(h2, trajectory='h2.traj')\n>>> opt.run(fmax=0.02)\nBFGS:   0  19:10:49    -31.435229     2.2691\nBFGS:   1  19:10:50    -31.490773     0.3740\nBFGS:   2  19:10:50    -31.492791     0.0630\nBFGS:   3  19:10:51    -31.492848     0.0023\n>>> write('H2.xyz', h2)\n>>> h2.get_potential_energy()  # ASE's units are eV and Ang\n-31.492847800329216\n\nThis example requires NWChem to be installed.\n\n::\n\n    $ ase gui h2.traj\n\n\n.. _Python: http://www.python.org/\n.. _NumPy: http://docs.scipy.org/doc/numpy/reference/\n.. _SciPy: http://docs.scipy.org/doc/scipy/reference/\n.. _Matplotlib: http://matplotlib.org/\n.. _ase-users: https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users\n.. _IRC: http://webchat.freenode.net/?randomnick=0&channels=ase\n\n\n",
    "bugtrack_url": null,
    "license": "LGPLv2.1+",
    "summary": "Atomic Simulation Environment",
    "version": "3.22.1",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "733184e1cd55ef6813efc268fc8a6480",
                "sha256": "66cc481e3d82bea8931d5fe677119932ea0bd1bc08b901fd84f36b37fa681c9e"
            },
            "downloads": -1,
            "filename": "ase-3.22.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "733184e1cd55ef6813efc268fc8a6480",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 2192122,
            "upload_time": "2021-12-01T12:51:26",
            "upload_time_iso_8601": "2021-12-01T12:51:26.713329Z",
            "url": "https://files.pythonhosted.org/packages/38/b0/3c0a7afaf66274588216c251376ac2bea0269eb7a5e1da77521811060553/ase-3.22.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8173c8b598faf995ff11cbceafacedc1",
                "sha256": "004df6b0ea04b1114c790fadfe45d4125eb0e53125c66a93425af853d82ab432"
            },
            "downloads": -1,
            "filename": "ase-3.22.1.tar.gz",
            "has_sig": true,
            "md5_digest": "8173c8b598faf995ff11cbceafacedc1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2807134,
            "upload_time": "2021-12-01T12:51:29",
            "upload_time_iso_8601": "2021-12-01T12:51:29.408193Z",
            "url": "https://files.pythonhosted.org/packages/69/64/096410b2e0b58aee082b40a37cdd61e708ed722a7471d7cf0e2dcb01cade/ase-3.22.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-12-01 12:51:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "ase"
}
        
Elapsed time: 0.01647s