Plot OpenMC geometry, interactive or static 2D slice plots.
Project description
Create axis slice plots of OpenMC geomtry:
- Interactive plots with hovertext :speech_balloon:
- Specifiy the zoom :mag:
- Color by materials or cells :art:
- Outline by materials or cells :pencil2:
- Switch ploting backends between 📉 MatPlotLib and 📈 Plotly
This package is deployed on xsplot.com as part of the openmc_plot
suite of plotting apps
Local install
pip install openmc_geometry_plot
Usage
The package can be used from within your own python script to make plots or via a GUI that is also bundled into the package install.
Python API script usage
See the examples folder for example scripts
Graphical User Interface (GUI) usage
After installing run openmc_geometry_plot
command from the terminal and the GUI should launch in a new browser window.
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
openmc_geometry_plot-0.1.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for openmc_geometry_plot-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a143a58d4e5e5cb72b4a8e973beac3af6175137a48ff4bb0137cb8c8e45ad21c |
|
MD5 | c49b63182aaf3dfb9a3f8160aae710a3 |
|
BLAKE2b-256 | 9da14ba669f9ef3452ab58004a9353c962bd6c8747ea960697430807e000a809 |
Close
Hashes for openmc_geometry_plot-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fac829e5add72817f9be3cf6db7f7ac3ff1358112861aa19517f7be7dbe2bca |
|
MD5 | eb8f82a9700e4970be1e32d91ebb1128 |
|
BLAKE2b-256 | 99d91cf1505abd26a98aeb8cc7243ae02d6cdfa7c8a389dc8934ca01b29bbcdd |