Plot OpenMC geometry, interactive or static 2D slice plots.
Project description
Create axis slice plots of OpenMC geomtry:
- Interactive plots with hovertext :speech_balloon:
- Specify the zoom :mag:
- Color by materials or cells :art:
- Outline by materials or cells :pencil2:
- Switch plotting 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.2.0.tar.gz
(12.1 kB
view hashes)
Built Distribution
Close
Hashes for openmc_geometry_plot-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88206c77949921dfeeddb3e3d5a0eaf447094f6c4771fa33cc020de1ed64932f |
|
MD5 | 5049f9c4f13fbebaffb8b6c6083e6435 |
|
BLAKE2b-256 | f77895adf5d576241b8352075636d9893b24c763d35964864ff24e777c4456a8 |
Close
Hashes for openmc_geometry_plot-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50ebefaf0d09df43cb8c3ece4f0ebb67b57c768212260838ec87a7d50272735 |
|
MD5 | 339385158531a00c350514a7c12b1613 |
|
BLAKE2b-256 | 3e9d531a2c15505758f3f1edcf13742b09aa098b24b37929f6228c58eed568b4 |