ImagingReso

ImagingReso: A Tool for Neutron Resonance Imaging - Published in JOSS (2017)

https://github.com/ornlneutronimaging/imagingreso

Science Score: 95.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Mathematics Computer Science - 84% confidence
Last synced: 6 months ago · JSON representation

Repository

Resonance Imaging

Basic Info
  • Host: GitHub
  • Owner: ornlneutronimaging
  • License: bsd-3-clause
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage: http://imagingreso.readthedocs.io
  • Size: 266 MB
Statistics
  • Stars: 5
  • Watchers: 4
  • Forks: 3
  • Open Issues: 3
  • Releases: 6
Created over 8 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.rst

ImagingReso
===========

.. image:: https://api.codacy.com/project/badge/Grade/7d9162fa8fb644019b2c336ddc61f9d3
   :alt: Codacy Badge
   :target: https://app.codacy.com/app/JeanBilheux/ImagingReso?utm_source=github.com&utm_medium=referral&utm_content=ornlneutronimaging/ImagingReso&utm_campaign=Badge_Grade_Dashboard

.. image:: https://travis-ci.org/ornlneutronimaging/ImagingReso.svg?branch=master
  :target: https://travis-ci.org/ornlneutronimaging/ImagingReso
  :alt: travis

.. image:: https://readthedocs.org/projects/imagingreso/badge/?version=latest
  :target: http://imagingreso.readthedocs.io/en/latest/?badge=latest
  :alt: readthedocs

.. image:: https://codecov.io/gh/ornlneutronimaging/ImagingReso/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/ornlneutronimaging/ImagingReso
  :alt: codecov

.. image:: http://joss.theoj.org/papers/997d09281a9d76e95f4ec4d3279eeb8c/status.svg
  :target: http://joss.theoj.org/papers/997d09281a9d76e95f4ec4d3279eeb8c
  :alt: JOSS

.. image:: https://img.shields.io/pypi/v/ImagingReso.svg
  :target: https://pypi.python.org/pypi/ImagingReso
  :alt: pypi

.. image:: https://anaconda.org/conda-forge/imagingreso/badges/version.svg
  :target: https://anaconda.org/conda-forge/imagingreso
  :alt: conda

.. image:: https://anaconda.org/conda-forge/imagingreso/badges/latest_release_date.svg
  :target: https://anaconda.org/conda-forge/imagingreso
  :alt: latest_release_date

.. image:: https://anaconda.org/conda-forge/imagingreso/badges/downloads.svg
  :target: https://anaconda.org/conda-forge/imagingreso
  :alt: downloads

.. image:: https://anaconda.org/conda-forge/imagingreso/badges/platforms.svg
  :target: https://anaconda.org/conda-forge/imagingreso
  :alt: platform

.. image:: https://anaconda.org/conda-forge/imagingreso/badges/license.svg
  :target: https://anaconda.org/conda-forge/imagingreso
  :alt: license

Announcement
------------

A web-based Graphical User Interface (GUI), *Neutron Imaging Toolbox*
(`NEUIT `__), is now available at http://isc.sns.gov/.

Abstract
--------

ImagingReso is an open-source Python library that simulates the neutron
resonance signal for neutron imaging measurements. By defining the sample
information such as density, thickness in the neutron path, and isotopic
ratios of the elemental composition of the material, this package plots
the expected resonance peaks for a selected neutron energy range.
Various sample types such as layers of single elements (Ag, Co, etc. in solid form),
chemical compounds (UO\ :sub:`2`, Gd\ :sub:`2`\O\ :sub:`3`, etc.),
or even multiple layers of both types can be plotted with this package.
Major plotting features include display of the transmission/attenuation in
wavelength, energy, and time scale, and show/hide elemental and
isotopic contributions in the total resonance signal.

The energy dependent cross-section data used in this library are from
`National Nuclear Data Center `__, a published
online database. `Evaluated Nuclear Data File
(ENDF/B) `__ [1] is currently
supported and more evaluated databases will be added in future.

Python packages used are: SciPy [2], NumPy [3], Matplotlib [4], Pandas
[5] and Periodictable [6].

Statement of need
-----------------

Neutron imaging is a powerful tool to characterize material
non-destructively. And based on the unique resonance features, it is
feasible to identify elements and/or isotopes which resonance with
incident neutrons. However, a dedicated tool for resonance imaging is
missing, and **ImagingReso** we presented here could fill this gap.

Community guidelines
--------------------

**How to contribute**

Clone the code to your own machine, make changes and do a pull request.
We are looking forward to your contribution to this code!

**How to report issues**

Please use 'Issues' tab on Git to submit issue or bug.

**Support**

You can email authors for support.

Installation instructions
-------------------------

Python 3.5+ is required for installing this package.

Install **ImagingReso** by typing the following command in Terminal:

.. code-block:: bash

   $ conda config --add channels conda-forge
   $ conda install imagingreso

or

.. code-block:: bash

   $ python3 -m pip install ImagingReso

or by typing the following command under downloaded directory in
Terminal:

.. code-block:: bash
   
   $ python setup.py

Example usage
-------------

Example of usage is presented at http://imagingreso.readthedocs.io/ .
Same content can also be found in ``tutorial.ipynb`` under ``/notebooks``
in this repository.

Calculation algorithm
---------------------

The calculation algorithm of neutron transmission *T*\ (*E*),
is base on Beer-Lambert law [7]-[9]:

.. figure:: https://github.com/ornlneutronimaging/ImagingReso/blob/master/documentation/source/_static/Beer_lambert_law_1.png
   :alt: Beer-lambert Law 1
   :align: center

where

N\ :sub:`i` : number of atoms per unit volume of element *i*,

d\ :sub:`i` : effective thickness along the neutron path of element*i*,

\ :sub:`ij` (E) : energy-dependent neutron total cross-section for the isotope *j* of element *i*,

A\ :sub:`ij` : abundance for the isotope *j* of element *i*.

For solid materials, the number of atoms per unit volume can be
calculated from:

.. figure:: https://github.com/ornlneutronimaging/ImagingReso/blob/master/documentation/source/_static/Beer_lambert_law_2.png
   :align: center
   :alt: Beer-lambert law 2

where

N\ :sub:`A` : Avogadros number,

C\ :sub:`i` : molar concentration of element*i*,

\ :sub:`i` : density of the element *i*,

m\ :sub:`ij` : atomic mass values for the isotope *j* of element *i*.

References
----------

[1] M. B. Chadwick et al., ENDF/B-VII.1 Nuclear Data for Science and
Technology: Cross Sections, Covariances, Fission Product Yields and
Decay Data, Nuclear Data Sheets, vol. 112, no. 12, pp. 28872996, Dec.
2011.

[2] T. E. Oliphant, SciPy: Open Source Scientific Tools for Python,
Computing in Science and Engineering, vol. 9. pp. 1020, 2007.

[3] S. van der Walt et al., The NumPy Array: A Structure for Efficient
Numerical Computation, Computing in Science & Engineering, vol. 13, no.
2, pp. 2230, Mar. 2011.

[4] J. D. Hunter, Matplotlib: A 2D Graphics Environment, Computing in
Science & Engineering, vol. 9, no. 3, pp. 9095, May 2007.

[5] W. McKinney, Data Structures for Statistical Computing in Python,
in Proceedings of the 9th Python in Science Conference, 2010, pp. 5156.

[6] P. A. Kienzle, Periodictable V1.5.0, Journal of Open Source
Software, Jan. 2017.

[7] M. Ooi et al., Neutron Resonance Imaging of a Au-In-Cd Alloy for
the JSNS, Physics Procedia, vol. 43, pp. 337342, 2013.

[8] A. S. Tremsin et al., Non-Contact Measurement of Partial Gas
Pressure and Distribution of Elemental Composition Using Energy-Resolved
Neutron Imaging, AIP Advances, vol. 7, no. 1, p. 15315, 2017.

[9] Y. Zhang et al., The Nature of Electrochemical Delithiation of
Li-Mg Alloy Electrodes: Neutron Computed Tomography and Analytical
Modeling of Li Diffusion and Delithiation Phenomenon, Journal of the
Electrochemical Society, vol. 164, no. 2, pp. A28A38, 2017.

Meta
----

Yuxuan Zhang - zhangy6@ornl.gov

Jean Bilheux - bilheuxjm@ornl.gov

Distributed under the BSD license. See ``LICENSE.txt`` for more information

https://github.com/ornlneutronimaging/ImagingReso

Publication
-----------

Yuxuan Zhang and Jean Bilheux, "ImagingReso: A Tool for Neutron Resonance Imaging", *The Journal of Open Source Software*, 2 (2017) 407, doi:10.21105/joss.00407

Acknowledgements
----------------

This work is sponsored by the Laboratory Directed Research and
Development Program of Oak Ridge National Laboratory, managed by
UT-Battelle LLC, under Contract No. DE-AC05-00OR22725 with the U.S.
Department of Energy. The United States Government retains and the
publisher, by accepting the article for publication, acknowledges
that the United States Government retains a non-exclusive, paid-up,
irrevocable, worldwide license to publish or reproduce the published
form of this manuscript, or allow others to do so, for United States
Government purposes. The Department of Energy will provide public
access to these results of federally sponsored research in accordance
with the DOE Public Access Plan(http://energy.gov/downloads/doe-public-access-plan).

Owner

  • Name: ornlneutronimaging
  • Login: ornlneutronimaging
  • Kind: organization

JOSS Publication

ImagingReso: A Tool for Neutron Resonance Imaging
Published
November 17, 2017
Volume 2, Issue 19, Page 407
Authors
Yuxuan Zhang ORCID
Oak Ridge National Laboratory
Jean Bilheux ORCID
Oak Ridge National Laboratory
Editor
Ariel Rokem ORCID
Tags
neutron resonance neutron imaging

GitHub Events

Total
  • Create event: 2
  • Issues event: 2
  • Release event: 3
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 3
Last Year
  • Create event: 2
  • Issues event: 2
  • Release event: 3
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 3

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 364
  • Total Committers: 4
  • Avg Commits per committer: 91.0
  • Development Distribution Score (DDS): 0.385
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Yuxuan Zhang z****x@g****m 224
JeanBilheux b****m@o****v 138
The Codacy Badger b****r@c****m 1
Arfon Smith a****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 10
  • Total pull requests: 9
  • Average time to close issues: almost 2 years
  • Average time to close pull requests: 26 days
  • Total issue authors: 4
  • Total pull request authors: 5
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.56
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 1
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
  • ustajan (3)
  • zhangy6x (3)
  • JeanBilheux (2)
  • martinwissink (2)
Pull Request Authors
  • zhangy6x (5)
  • bidochon (1)
  • arfon (1)
  • dependabot[bot] (1)
  • codacy-badger (1)
Top Labels
Issue Labels
enhancement (2) bug (2)
Pull Request Labels
enhancement (1) dependencies (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 311 last-month
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 63
  • Total maintainers: 2
pypi.org: imagingreso

tool for resonance neutron imaging

  • Versions: 42
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 311 Last month
Rankings
Dependent packages count: 4.7%
Average: 16.8%
Forks count: 16.9%
Downloads: 17.6%
Dependent repos count: 21.7%
Stargazers count: 23.1%
Maintainers (2)
Last synced: 6 months ago
conda-forge.org: imagingreso
  • Versions: 21
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 34.0%
Average: 48.1%
Dependent packages count: 51.2%
Forks count: 51.6%
Stargazers count: 55.7%
Last synced: 6 months ago

Dependencies

setup.py pypi
  • matplotlib ==3.7.1
  • numpy ==1.24.2
  • pandas ==1.5.3
  • periodictable ==1.5.2
  • plotly ==5.13.1
  • scipy ==1.10.1
  • six ==1.16.0