Skip to main content

GUI for CLEASE

Project description

pipeline status coverage report Documentation Status PyPI Anaconda

Code style: black

CLEASE GUI

This is a GUI based on Jupyter notebooks for CLEASE. For more information, head on over to the documentation.

Installation

The CLEASE GUI is available on PyPI:

$ pip install clease-gui

The GUI is also available on conda-forge. This is also the prefered method on Windows, in order to simply the compilation process of CLEASE. To install into your conda environment, do:

$ conda install -c conda-forge clease-gui

Running the GUI

The GUI is based on Jupyter notebooks. The GUI works in both "classic" jupyter notebooks, and in Jupyter lab. Launch jupyter lab with:

$ jupyter-lab

Alternatively to use the classic jupyter notebook, do:

$ jupyter notebook

Create a new notebook that you want to work in, and a new cell, add the following lines:

from clease_gui import display_ui
display_ui()

A line %matplotlib notebook can be added at the start of the cell for nicer plots (this only works in classic jupyter notebooks). However, this may come at a significant performance cost, so do your own testing.

Plot font sizes

All plots generated in this package are generated by the matplotlib package. However, the default font size in matplotlib can be rather small, so it can be adjusted globally, e.g. by running the following in a cell:

import matplotlib
matplotlib.rcParams.update({'font.size': 16})

This will also affect the font sizes on the figures generated in the GUI.

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-gui-0.1.10.tar.gz (72.3 kB view details)

Uploaded Source

Built Distribution

clease_gui-0.1.10-py3-none-any.whl (88.6 kB view details)

Uploaded Python 3

File details

Details for the file clease-gui-0.1.10.tar.gz.

File metadata

  • Download URL: clease-gui-0.1.10.tar.gz
  • Upload date:
  • Size: 72.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for clease-gui-0.1.10.tar.gz
Algorithm Hash digest
SHA256 2c360f5b40c6f0991fb10acbbc24e7c0756cc0169fba79aca27f7ed8496dbbae
MD5 2e02e0b37d8be88b439c10a97c3c0526
BLAKE2b-256 be65b6283202775ebf5ef8c5c1ebad7304f18873f213bfb26407c1c904c1f168

See more details on using hashes here.

File details

Details for the file clease_gui-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: clease_gui-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 88.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for clease_gui-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5a41895586e24595c1f7b680010294f6b46c6968343da84602943b05ce0f6807
MD5 bf9655eebec222ae1a481beeeb04caa3
BLAKE2b-256 de7044032fdedb27c1ec45e06552220078e4b2bacb57db74ee37a096dbb0d70c

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