spectrum-plotter
A Python package for creating publication quality plots for neutron / photon / particle spectrum
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
Repository
A Python package for creating publication quality plots for neutron / photon / particle spectrum
Basic Info
Statistics
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 7
- Releases: 11
Topics
Metadata Files
README.md
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
- Repositories: 29
- Profile: https://github.com/fusion-energy
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
Top Committers
| Name | 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
- Homepage: https://github.com/fusion-energy/spectrum_plotter
- Documentation: https://spectrum-plotter.readthedocs.io/
- License: MIT License
-
Latest release: 0.2.3
published almost 4 years ago
Rankings
Maintainers (2)
Dependencies
- openmc_dagmc_wrapper * test
- openmc_plasma_source * test
- pytest-cov >=2.12.1 test
- kaleido *
- matplotlib >=3.2.2
- numpy >=1.9
- openmc_tally_unit_converter *
- plotly *
