No project description provided
Project description
Jupyter widget: Brillouin zone visualizer
A Jupyter widget to plot the 1st Brillouin zone of crystals. It is based on the corresponding Javascript library: https://github.com/materialscloud-org/brillouinzone-visualizer
The primary input is a crystal structure, which is parsed by seekpath and the result is displayed by the Javascript widget using anywidget.
This repo is bootstrapped with npm create anywidget@latest
.
Installation
pip install widget_bzvisualizer
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 example/example.ipynb
in JupyterLab, VS Code, or your favorite editor 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
Hashes for widget_bzvisualizer-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc2c3cf58666d6f2e68d6140d00c808b29cbd77beeee5964ecad9000233e5bf6 |
|
MD5 | e5b57884d3cfeaf2206b96a79b1a35fe |
|
BLAKE2b-256 | 5f8ad6f8fcaef4b4867e50aa2e5fd987b33bde35ac121cd3140c88edc6a37911 |
Hashes for widget_bzvisualizer-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22b6e4f9fbb495a434c4bf838119fe2a7fa24faf0812cc9ba72083b202c548de |
|
MD5 | cbd97e7419a50f3aaeed6d81ff46077c |
|
BLAKE2b-256 | 976d98eaf58457d756027b423d208f8e0ddf2057cf19850775a743598185f01b |