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 (working progress) :art:
- 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
Built Distribution
Close
Hashes for openmc_geometry_plot-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3cb6b263cf7e0312889cd441f0e19e1d5e91b15ccf36a7736fb6a3c9c1b7f1 |
|
MD5 | 61aa68a2e0ca9500732e56684420b753 |
|
BLAKE2b-256 | beef7ad06a6862e5c861d1882536fe31aa27c8e6e258073fa8df44d7ab345794 |
Close
Hashes for openmc_geometry_plot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8b52dbcea7f997ed962774dddf2c8c3f1fd3dd7da534406ff844e740b26d5f1 |
|
MD5 | 70532e789f6faf2aa7315b01f3de4799 |
|
BLAKE2b-256 | 467205eea199bca5eeab9a6259662c8f1c67529e6ca7ed8ff0883878c21d0d19 |