Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

widget_bzvisualizer-0.2.0.tar.gz (125.6 kB view details)

Uploaded Source

Built Distribution

widget_bzvisualizer-0.2.0-py2.py3-none-any.whl (126.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file widget_bzvisualizer-0.2.0.tar.gz.

File metadata

  • Download URL: widget_bzvisualizer-0.2.0.tar.gz
  • Upload date:
  • Size: 125.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for widget_bzvisualizer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bc2c3cf58666d6f2e68d6140d00c808b29cbd77beeee5964ecad9000233e5bf6
MD5 e5b57884d3cfeaf2206b96a79b1a35fe
BLAKE2b-256 5f8ad6f8fcaef4b4867e50aa2e5fd987b33bde35ac121cd3140c88edc6a37911

See more details on using hashes here.

File details

Details for the file widget_bzvisualizer-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for widget_bzvisualizer-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 22b6e4f9fbb495a434c4bf838119fe2a7fa24faf0812cc9ba72083b202c548de
MD5 cbd97e7419a50f3aaeed6d81ff46077c
BLAKE2b-256 976d98eaf58457d756027b423d208f8e0ddf2057cf19850775a743598185f01b

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