A Pythonic approach to cluster expansions
Project description
icet is a the tool for the construction and sampling of alloy cluster expansions. A detailed description of the functionality provided as well as an extensive tutorial can be found in the user guide
icet 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. All computationally demanding parts are, however, written in C++ providing performance while maintaining portability. The following snippet illustrates how one can train a cluster expansion:
cs = ClusterSpace(primitive_cell, cutoffs, species)
sc = StructureContainer(cs, list_of_training_structure)
opt = Optimizer(sc.get_fit_data())
opt.train()
ce = ClusterExpansion(cs, opt.parameters)
Afterwards the cluster expansion can be used in various ways, e.g., for finding ground state structures or for running Monte Carlo simulations.
Installation
icet can be installed by cloning the repository and running the setup.py script:
git clone git@gitlab.com:materials-modeling/icet.git
cd icet
python3 setup.py install --user
icet requires Python3 and invokes functionality from several external libraries including the atomic simulation environment, pandas, scipy, and spglib. Installation also requires a C++11 compliant compiler. Please consult the installation section of the user guide for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file icet-0.2.tar.gz
.
File metadata
- Download URL: icet-0.2.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100f6cc4b118b966be28c96afc01b867e93f5ef21392da6e325897e376b64575 |
|
MD5 | 19cecda0f62b944578d8a63e8a8470cc |
|
BLAKE2b-256 | be024b24287ed08cc92012300d07009b6a66ef1ff5d7b539081c57bfecd57365 |