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.0.3.tar.gz (494.9 kB view details)

Uploaded Source

Built Distributions

clease-1.0.3-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.0.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

clease-1.0.3-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.0.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

clease-1.0.3-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.0.3-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.0.3-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.0.3-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

File details

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

File metadata

  • Download URL: clease-1.0.3.tar.gz
  • Upload date:
  • Size: 494.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for clease-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4e669cde7e259cdecc62852ae9179662f68ad311283286d00071f7041e9bad96
MD5 968a62062238522f8c62b2633cb413b8
BLAKE2b-256 583068076743cca7face95491d2986066160229b51aa93f6d84418dc8feffdb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 015030e8f530dc620a789fe1cc749ca14a3b9b75fbe95ac3a6d5173c54446ab4
MD5 19669bd2824ff107e414e0380e4e6864
BLAKE2b-256 b6414e16503883a0f8e848a6a7af711bf3d85334eebfe10e17c0311c2b4645e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 62c1567d1871c3d965c0f606d3fd7d8fe9e2495390a343d79e0477d287ddd321
MD5 373795160b76f6977e828d9b6c1c6637
BLAKE2b-256 b8a91be90f2db7021e5b1468cee5e29675bcace7cbf5b22c293a55b77e6d1c12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2a6e071ab207e67f33e0b07ee1fbaefaeef7e44efb7245c3ac7f253093eebf5
MD5 01dc99409ca4a71f0e2e3286108f6ab0
BLAKE2b-256 5ecffc8edec1b14f27fb800168933c30ce99faf041b168ee9bef75ce9aab6acb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e723112aaf7d4344b4f8222452584668eecb76ed477c1d43fef716c6726eacd1
MD5 40408162c0ece816df4141bb74a397ec
BLAKE2b-256 8d959fa243c4303728140a982953b4338ac837d08cc48b9d99e2444c97a1140e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a071b8ed3dca37647b514aa5632694b255717bf0b852e200af0a4aa547f7957e
MD5 420de943cbce947368d89fdf869e13d1
BLAKE2b-256 272e377354cf88bad5dff4cd03f8c7ce586b2a8ce64781a9051459db0326b576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 dfc1ebaf3b4f8f5f8b2b247804995944cf3e5a7c0dd94fcd218dbbce59598594
MD5 d72168871f3f3a828793dde09bfb8ee3
BLAKE2b-256 bb19d46816f458b03bae25da3343bbc73b32179f505d046d8ccb0ff25e462ce6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 470f5e94d44c23bf072f5fc0dd3d01ca253e8a88200c319c0b0dda37b5870c30
MD5 08d06500935f5bc9a4a514de5eba16e1
BLAKE2b-256 fdf30fc2bde1ecdcd6cb8880748006121e7504398b5c670b71f141365e5805fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.3-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3458045ca89f0207856a55557c08a7a458d959c4fbf85ff6d2417bce3aff9e70
MD5 a27a416b5cf41c1322caaaf4cfbe4239
BLAKE2b-256 ddc02da8d3fa70e1f6fc567ceac04cd486e513c0c9c53051c1a2d54d8bd7f8f5

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