No project description provided
Project description
Jupyter widget: Band structure visualizer
A Jupyter widget to plot band structures and density of states. The widget is using the mc-react-bands Javascript package and is turned into a Jupyter widget with anywidget.
Installation & usage
pip install widget-bandsplot
For usage examples, see examples/example.ipynb
.
Development
Install the python code:
pip install -e .[dev]
You then need to install the JavaScript dependencies and run the development server.
npm install
npm run dev
Open examples/example.ipynb
in Jupyter notebook or lab to start developing. Changes made in js/
will be reflected in the notebook.
Acknowledgements
We acknowledge support from the EPFL Open Science Fund via the OSSCAR project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file widget_bandsplot-0.6.4.tar.gz
.
File metadata
- Download URL: widget_bandsplot-0.6.4.tar.gz
- Upload date:
- Size: 183.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2661afb1bed40f2e2878f391e5fc30b7b7793ddab08ec07b7a08afdae259f046 |
|
MD5 | 56246e6a098383d8fc30ab6049004dca |
|
BLAKE2b-256 | d38cf299d8a3e64f0d164d1f74261404bebf1cc96be3e5874b4dc2d5f35f521a |
File details
Details for the file widget_bandsplot-0.6.4-py2.py3-none-any.whl
.
File metadata
- Download URL: widget_bandsplot-0.6.4-py2.py3-none-any.whl
- Upload date:
- Size: 184.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602424b445170d4e86e7b579711dc34289beb5dcdb772279a91b452ed6ed55c2 |
|
MD5 | 181a7af4a8e07e1d724fdc2182f65849 |
|
BLAKE2b-256 | e08fd6a14e3cc8a2e90c72f87722834905b94092a48b92b0f6c1b69a8f9ece30 |