Skip to main content

High-order force constants for the masses

Project description

hiPhive is a tool for efficiently extracting high-order force constants from atomistic simulations, most commonly density functional theory calculations. A detailed description of the functionality provided as well as an extensive tutorial can be found in the user guide. Complete examples of using hiphive for force constants extaction can be found at hiphive examples.

hiPhive is written in Python, which allows easy integration with countless first-principles codes and analysis tools accessible in Python, and allows for a simple and intuitive user interface. For example using the following snippet one can train a force constant potential:

cs = ClusterSpace(primitive_cell, cutoffs)
sc = StructureContainer(cs, list_of_training_structure)
opt = Optimizer(sc.get_fit_data())
opt.train()
fcp = ForceConstantPotential(cs, opt.parameters)

after wich it can be used in various ways, e.g., for generating phonon dispersions, computing phonon lifetimes, or running molecular dynamics simulations.

Installation

hiPhive can be installed via pip:

pip3 install hiphive

If you want to get the absolutely latest (development) version you can clone the repo and then install hiPhive via:

git clone git@gitlab.com:materials-modeling/hiphive.git
cd hiphive
python3 setup.py install --user

hiPhive requires Python3 and invokes functionality from several external libraries including the atomic simulation environment, spglib and SymPy. Please note that the dependency on scikit-learn is not enforced during installation via pip. Please consult the installation section of the user guide for details.

Credits

  • Fredrik Eriksson

  • Erik Fransson

  • Paul Erhart

hiPhive has been developed at Chalmers University of Technology in Gothenburg, Sweden, in the Materials and Surface Theory division at the Department of Physics.

When using hiphive in your research please cite the following paper:

Fredrik Eriksson, Erik Fransson, and Paul Erhart
The Hiphive Package for the Extraction of High‐Order Force Constants by Machine Learning
Adv. Theory. Sim., 1800184 (2019)

Also consult the Credits page of the documentation for additional references.

hiphive and its development are hosted on gitlab. Bugs and feature requests are ideally submitted via the gitlab issue tracker. The development team can also be reached by email via hiphive@materialsmodeling.org.

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

hiphive-0.7.1.tar.gz (84.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hiphive-0.7.1-py2.py3-none-any.whl (105.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hiphive-0.7.1.tar.gz.

File metadata

  • Download URL: hiphive-0.7.1.tar.gz
  • Upload date:
  • Size: 84.1 kB
  • 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 hiphive-0.7.1.tar.gz
Algorithm Hash digest
SHA256 4374ebc778439475d16e4b2100f4f808066a57181cc9943fbf1e44d421fabad9
MD5 b15300f83722164f499eeea398061290
BLAKE2b-256 4bde5c91cb7c24167456f0284e91c8f98a8d21cc0bb5d4a747ceb19708be3559

See more details on using hashes here.

File details

Details for the file hiphive-0.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: hiphive-0.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 105.2 kB
  • Tags: Python 2, 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 hiphive-0.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d076a4ec28b479e423c5b33e6b34e05bd3d30c851cdaebf378539e225714894b
MD5 b7624280d8fbb6ff819c98af7e3d4b41
BLAKE2b-256 2eb2074c1af5f7db8d4caac2e3125d12083daa4085a257ab27df7652eb713a58

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