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())
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.


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
cd hiphive
python3 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.


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

Filename, size & hash SHA256 hash help File type Python version Upload date
hiphive-0.5-py2.py3-none-any.whl (97.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3
hiphive-0.5-py3.5.egg (231.7 kB) Copy SHA256 hash SHA256 Egg 3.5
hiphive-0.5.tar.gz (74.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page