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:

%matplotlib tk
from clease_gui import display_ui
display_ui(dev_mode=True);

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

Uploaded Source

Built Distribution

clease_gui-0.1.12-py3-none-any.whl (94.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clease-gui-0.1.12.tar.gz
  • Upload date:
  • Size: 77.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for clease-gui-0.1.12.tar.gz
Algorithm Hash digest
SHA256 f1b145a29e4d46933312cfd3b81483cb4c57ba16a98ae2c93b80fcc129683bf3
MD5 e67d72f873d2defc5dbaa1a45ea7caad
BLAKE2b-256 0bd326d29ef81cab6428a9fcab4ac3007c278ed0813d0861201526f5773ae90f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clease_gui-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 94.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for clease_gui-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 716bad20a69cf2b1893168605eb2094fb6f1a14f05b8fc87508e92249fea22d9
MD5 1c5eaef613b45c2998f7b4f2f0222f8e
BLAKE2b-256 2b686d786a677f876d66eeb9f79d061b7f0008fb8469038d8d2379fb6232ffed

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