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

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.

Authors

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

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.5.tar.gz (74.4 kB view hashes)

Uploaded Source

Built Distributions

hiphive-0.5-py3.5.egg (231.7 kB view hashes)

Uploaded Source

hiphive-0.5-py2.py3-none-any.whl (97.4 kB view hashes)

Uploaded Python 2 Python 3

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