A Python package for creating publication quality plots for neutron / photon / particle spectrum
Project description
Spectrum Plotter
A Python package for creating standard plots for neutron / photon / particle spectrum
Installation
pip install spectrum_plotter
Usage
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
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
spectrum_plotter-0.2.0.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for spectrum_plotter-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1c6b3f319e651cbc8aed4e0a9a8f9413058508e83df6f4b70744018c02d0c3d |
|
MD5 | 8d53dc41be697d66d4002138ddf02bbf |
|
BLAKE2b-256 | 6a8b947c4e2edc00a38773341ab018bbe04e1a4e6e41499933c13dc554191f99 |