Skip to main content

A Python package for creating publication quality plots for neutron / photon / particle spectrum

Project description


CI with install

Upload Python Package

Spectrum Plotter

A Python package for creating standard plots for neutron / photon / particle spectrum


pip install spectrum_plotter


There are two main functions for plotting spectrum:

plot_spectrum_from_values() - allows users to pass in the tally via a dictionary of tuples where each tuple contains x,y and optionally y_error values as numpy arrays.

plot_spectrum_from_tally() - allows users to pass in an OpenMC tally and plot the result. Units can be automatically scaled,normalised and converted.

:point_right: Examples

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

spectrum_plotter-0.2.3.tar.gz (5.6 kB view hashes)

Uploaded source

Built Distribution

spectrum_plotter-0.2.3-py3-none-any.whl (6.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page