Skip to main content

A Python package containing a collection of scripts for producing and downloading data for OpenMC

Project description

A Python app for plotting OpenMC.

This repository contains the source code for the OpenMC plot.

Try the web app at http://openmc-plot.xsplot.com

This repository contains:

  • A Python Streamlit based GUI 🐍
  • A Dockerfile that provides the hosting environment for the web app 🐳

Plot geometry

openmc plot geometry

Plot sources

openmc plot source

Plot regular mesh tallies

openmc plot mesh

Plot weight windows

openmc plot mesh

Install

First you will need to install OpenMC

OpenMC_plot can then be install directly from the Python package index (PyPi) using pip.

pip install openmc_plot

Usage

In the terminal type ...

openmc_plot

Your default web browser should then load with the GUI.

You will also need to have OpenMC installed.

Run web app locally (developers)

To host your own local version of xsplot.com you will need Docker installed and then can build and run the Dockerfile with the following commands.

First clone the repository

git clone https://github.com/fusion-energy/openmc_plot

Then navigate into the repository folder

cd openmc_plot

Then build the docker image

docker build -t openmc_plot .

Then run the docker image

docker run --network host -t openmc_plot

The URL of your locally hosted version should appear in the terminal, copy and paste this URL into a web browser address bar.

Maintenance (developers)

Pushing to the main branch of this repository triggers an automatic rebuild and deployment of the new code using Google Cloud build at xsplot.com

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

openmc_plot-0.3.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openmc_plot-0.3.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file openmc_plot-0.3.0.tar.gz.

File metadata

  • Download URL: openmc_plot-0.3.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for openmc_plot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 08c4966cdc41d9582a162f7cb94ecdb84a1f977922a9f7e8ecac4c29633caee0
MD5 f23aa35423f4dbe74a0092bdc92f3f28
BLAKE2b-256 981d6cc599e5173d463b9ebf21021071d1c92f873a97adb3ce78134615bf82f4

See more details on using hashes here.

File details

Details for the file openmc_plot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: openmc_plot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for openmc_plot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d380c99ec64dfb9213aa0d40834a6881a8367dd8098cdba74e0fb01b169cccb3
MD5 c73d659a2a3d060eece9636422dcff96
BLAKE2b-256 4a17a477a4064de744d7d6e6265e72a222270b75d82d0e8499fd138c88db8a17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page