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

Uploaded Source

Built Distributions

clease-1.0.4-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.4-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.0.4-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.4-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.0.4-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.4-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.4-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.4-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.0.4.tar.gz.

File metadata

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

File hashes

Hashes for clease-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a5fa66295f09c4b9dc17e85d459567d2fb4e48ff3e50a7b92edbba2a6fe29364
MD5 3f1b622076e2ab1dab131ada59419c1c
BLAKE2b-256 3c1fef9bea6a89bde3a0d2e54b52ddacbc599d1578d4ba561a088483c2b8796a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0fe5ae6c2ebb52263175f48fe991b635b046abc9dca5a358c2d6afd777bc347d
MD5 0d7efde931aacdae616d2e0d8d3cb578
BLAKE2b-256 9c8a55a9d547aeef8d815d4eb991fbffa0c9684ffe474bbec5c0d6579cf63b8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 06ab9dd68b4ff5d35ee878b0d912d312a4e20c6334d7786b1b92830dc3b9b615
MD5 e9be34715d66a3e0be8dccc10e675450
BLAKE2b-256 72f1ac9000cf69be7ca50af934eeb96c018d8486d77a4e331416b23cfb852c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f781cc7677c863c486a4000c62f941c815e81a1c1983c26f2127a63aa7505177
MD5 600b1bffd4642ccb9017135e1bf815f0
BLAKE2b-256 c6852480fa586ab45b09a6feaac9d0ac9dbda56d7b473d697bd767dac796634f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5c6de5b9e476032332d58796efa4b0d09d703f1017f1f60f09c9606faa4885aa
MD5 0d0e0d845957425811d4f7359c17e96b
BLAKE2b-256 97499aa9bc76272bd8ad34190a8dc67b961e986dd7c148f6c3346b55131a4f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c0d56a178dedcbe768bf05972539c8da411b90d3aa06cf8e4f0a12e60cde2e0
MD5 fe6ec28156b631aaf22101cb60ff19ee
BLAKE2b-256 c44fe7805436b5021c1569a55f17802bb643f32e8da8416b9b3f6537626c38d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a226cf2d20b03f91d712c310d018d14e2def069d3ab667376844f829bd5d8075
MD5 48f3c07b553fd331d9c2d4e6629337f1
BLAKE2b-256 85362741eed2174653ca1976e667902d9431d93ffa66bfba117c534363e00b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98a607a3762a1b1d87ae161fa1102355fdf6f29bdd6730903ef0452d64df50f8
MD5 0a5881c51c8f34fe71d1ac86e160945d
BLAKE2b-256 6fe51f930643a131aeebff59bb54492941ef10505599cf42f7dec4e02c70de48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clease-1.0.4-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 791f0c35edecb603b769fc806e5c236983eafa7da5c0d8a0c5448551f3c222df
MD5 1a88128d94c38fcf1d11a9b6cad2df49
BLAKE2b-256 3d45e07eb164ab7a23be99161081bdbd352f6b908a3b76d7e0898f8d63b74367

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