spectrum-plotter

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

https://github.com/fusion-energy/spectrum_plotter

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary

Keywords

dose graph neutron neutronics photon plot spectra spectrum
Last synced: 4 months ago · JSON representation ·

Repository

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

Basic Info
  • Host: GitHub
  • Owner: fusion-energy
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 96.7 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • Open Issues: 7
  • Releases: 11
Topics
dose graph neutron neutronics photon plot spectra spectrum
Created about 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License Citation

README.md

N|Python

CI with install

Upload Python Package

Spectrum Plotter

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

Installation

To make use of this package you wll need OpenMC installed. See the instructions here for installing OpenMC.

bash 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

Owner

  • Name: Fusion Energy
  • Login: fusion-energy
  • Kind: organization

A collection of software projects related to fusion energy

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Shimwell"
  given-names: "Jonathan"
  orcid: "https://orcid.org/0000-0001-6909-0946"
title: "A Python package for creating publication quality plots for neutron, photon or particle spectrum."
version: 0.1.2
date-released: 2021-10-30
url: "https://github.com/fusion-energy/spectrum_plotter"

GitHub Events

Total
Last Year

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 62
  • Total Committers: 4
  • Avg Commits per committer: 15.5
  • Development Distribution Score (DDS): 0.048
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jonathan Shimwell m****l@j****m 59
Steve Lilley p****l 1
Shimwell S****l 1
Jonathan Shimwell d****l@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 10
  • Total pull requests: 19
  • Average time to close issues: 4 days
  • Average time to close pull requests: about 5 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.3
  • Average comments per pull request: 0.74
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • shimwell (7)
  • py1sl (3)
Pull Request Authors
  • shimwell (18)
  • py1sl (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 26 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 11
  • Total maintainers: 2
pypi.org: spectrum-plotter

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

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 26 Last month
Rankings
Dependent packages count: 10.1%
Average: 19.8%
Dependent repos count: 21.5%
Downloads: 21.7%
Forks count: 22.6%
Stargazers count: 23.1%
Maintainers (2)
Last synced: 4 months ago

Dependencies

requirements-test.txt pypi
  • openmc_dagmc_wrapper * test
  • openmc_plasma_source * test
  • pytest-cov >=2.12.1 test
setup.py pypi
  • kaleido *
  • matplotlib >=3.2.2
  • numpy >=1.9
  • openmc_tally_unit_converter *
  • plotly *