Skip to content

openmc-data-storage/isotope-xs-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains part of the source code for neutron cross section plotting website xsplot.com which allows neutron cross sections for isotopes to be plotted.

This repository contains:

  • A Python Plotly Dash based GUI 🐍
  • A Dockerfile that provides the hosting environment 🐳

Run locally

You can view the hosted version of this repository here xsplot.com. However you might want to host your own version locally.

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/openmc-data-storage/isotope-xs-plotter.git

Then navigate into the repository folder

cd isotope-xs-plotter

Then build the docker image

docker build -t isotope-xs-plotter .

Then run the docker image

docker run --network host -t isotope-xs-plotter

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

Maintenance

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

The website makes use of a few other packages to process the nuclear data: