Skip to main content

CLuster Expansion in Atomistic Simulation Environment

Project description

CLEASE

coverage PyPI version Conda Documentation Status

CLuster Expansion in Atomic Simulation Environment (CLEASE) is a package that automates the cumbersome setup and construction procedure of cluster expansion (CE). It provides a comprehensive list of tools for specifying parameters for CE, generating training structures, fitting effective cluster interaction (ECI) values and running Monte Carlo simulations. A detailed description of the package can be found in the documentation and our paper.

For information on how to contribute to CLEASE, please see the contributing file.

Installation

Install the CLEASE code by executing

pip install clease

Alternative, CLEASE is also available through anaconda on conda via conda-forge. We recommend installing CLEASE via conda on windows machines in order to simplify compilations, as pip tends to have a hard time compiling the C++ code. Install into your conda environment:

conda install -c conda-forge clease

Graphical User Interface

Clease has a stand-alone jupyter notebook GUI, which is capable of performing most of the standard CE routines. It can be found here.

CLEASE GUI can be installed from PyPI or anaconda using one of the two following commands.

PyPI

pip install clease[gui]

Anaconda

conda install -c conda-forge clease-gui

Development

If you are a developer you might want to install CLEASE by executing the following command in the root folder of the project

pip install -e .

In order to run the tests, the testing dependencies should be installed. They can be installed with the extra test option

pip install .[test]

There is an additional option for development purposes, dev, which contains some convenience packages. All of the extras options can be installed via the all option, i.e.

pip install .[all]

Note, that if you are using zsh, you need to escape the argument, e.g.

pip install '.[all]'

Troubleshooting

If you are running on Mac and get the error

fatal error: 'ios' file not found

try this before installing

export MACOSX_DEPLOYMENT_TARGET=10.14

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

clease-1.1.0.tar.gz (550.7 kB view details)

Uploaded Source

Built Distributions

clease-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

clease-1.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (2.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

clease-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

clease-1.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (2.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

clease-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

clease-1.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

clease-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

clease-1.1.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (2.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

clease-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

clease-1.1.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (2.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

File details

Details for the file clease-1.1.0.tar.gz.

File metadata

  • Download URL: clease-1.1.0.tar.gz
  • Upload date:
  • Size: 550.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for clease-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1597be5b1918d1f440181b86f84e7d041d529541f9dac0eea61b1ed3905369f9
MD5 116e0d49de36054ab7bccd788fed7e0f
BLAKE2b-256 79cdff476c7d0056a0883aa182d31ec1aeb7d36b935ca5aa30e5435cb2476423

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 534f6810722f55015b9aa2073b026c03c4d6936d880115afd6bfb581893f7912
MD5 9919711f40685dce0a3606a5cfebc3cc
BLAKE2b-256 aede9faa6ce561102a0b42c4febfb6b2d62ae3e8d4f1b340cd29e585f5d85114

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 586c1bf15ebcbaec66091d7c54177bfb9b0201d3f9839c2fbc7da6b66bf6b4a1
MD5 95da974d1bdfdb3a15a2548476dc44b2
BLAKE2b-256 d6183c6c31f8fd4b07058015226b0b84f553239b65cb1277c50ac0c6f125afc6

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87ef857d25db481759b9e97909718826479e9ee46de1762ee8614fa876f38084
MD5 1614bf513c2a831711c3d9ba4d1fcf49
BLAKE2b-256 bbeed617d65b8f4a9d4ff2edb014a0a1d3abb8a337e895e0993258c1dfc24d40

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 96eef138d9b477bfb153f61f524c4b7ba7423fb80a1834a505cae6c6e4bcc793
MD5 d74ae2b5d68303c788ccc87b4f5cb9c2
BLAKE2b-256 a744bb46109927464cf7d7df58d9fcc335eed0e64a9aed9eaf687353259d1a70

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b625fb53999d92fdd5236cd6c7e791d2db672b75e15f9e10a8bd5906487f283c
MD5 5f7d860cdb9ca6f566921b34399af2bb
BLAKE2b-256 bd015a0131956de531cdc2a57d80adafa9f50e78251c689eace7903ccb269bcb

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b0244c93397c3ad204d31ada72ad752d04089575c378fe71ae87a94d5bdeaa8b
MD5 2c9fdd04519f9167275e05970e3d6804
BLAKE2b-256 d08d46b31836b9708976090d9b7161d1c1c9002719d266d1b7a32bf3ceb1b270

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e43bfe501a20ca44d14bb99356ae4b611a139d3f2e15b6abe06065e387007ab
MD5 ad61a8b1f373f2452e70167350448d01
BLAKE2b-256 e2d1e61616dec84c926332ea6a034683bfbed6415d3183f0fe0ea791496f3fb7

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3562c77d6c948315278c844a89985350017d157b1059176fd5e6370418af820d
MD5 d2f072ed55f1f8171e97ea0cbbbe1d17
BLAKE2b-256 8f58c8c492f1c8c9bd911bfe8b4d4bbfdf8ca97c5279c8b261476a5ad4b2d607

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 51f0e18601a86f3fea22ba0562ccebe27603b383e7cc0b9c644d8b65aaa37469
MD5 4e227c1dfeee6ea65dc79cc77f19edfb
BLAKE2b-256 f5408985d3188fc5df24ccc95dbf16c0981a1e2413b88fe704e7bd172fabcfb4

See more details on using hashes here.

File details

Details for the file clease-1.1.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for clease-1.1.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a02c97c13c80f0caaada1ac2e4d1e2b8dbd975685fdff352209606dc119fd6c1
MD5 9ea0808e8f857ee0f7c5625b0c351d91
BLAKE2b-256 44a8785b2641531696fdf7aab1b6e92fa82f192469fffe1a95ef0c6b66bf79fb

See more details on using hashes here.

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