Skip to content

Repository files navigation

Nuclear Data Reader


StatusGitHub IssuesGitHub Pull RequestsLicense: GPL v3codecovCodeFactorCodacy Badge


OSConfigBuild StatusCompiler Version
Linuxlinux.ymlLinux Buildsgcc13, clang18
Windows (MSVC)windows.ymlWindows BuildsMSVC-2022

Introduction

The Nuclear Data Reader is aimed at parsing and reading the various files that have been published related to atomic nuclear data. The format of the files is unique, and in constant flux, so takes some effort to parse. This project takes away the need to keep worry about those things and creates json formatted files.

No guarantee is supplied with regards to the accuracy of the data presented. Estimated values are included, please always refer to the original sources. All data should, however, be accurate.

Suggestions/improvements are encouraged, either create an issue or implement the change and send a pull request via github.

The code can read data from the following published papers:

YearAtomic Mass EvaluationNUBASE
1971URL - DOI (Investigating if data files exists)
1977URL - DOI (Investigating if data files exists)
1983URL - DOI
1993URL - DOI
1995URL - DOI
1997No AME, but the 1995AME matches the 1997NUBASE.
See section 4, "The tables" on P31 of these proceedings
URL - DOI
2003URL - DOIURL - DOI
2012URL - DOIURL - DOI
2016URL - DOIURL - DOI
2020URL - DOIURL - DOI

The data contained within is freely available as ASCII files, all of which are included with the project for ease. The newer tables are available on the AMDC website, and the historic page can be used to find older ones.

Acquiring

Simplest way to acquire the repo is to clone it. The project makes use of fmt and Catch2 via submodules so they need to be initialised. The below is enough to get you started.

$ git clone --recurse-submodules https://github.com/php1ic/nuclear-data-reader.git

Building

The project is built using cmake and instructions on building can be found in the file INSTALL.md.

The files, within ./data/, should NOT be altered. Although they are all freely available from the above links if they are modified.

Versioning

There is an attempt to follow SemVer for versioning numbers. For the currently available versions, see the tags on this repository.

License

The code may be freely copied, distributed and altered under the terms of the GNU GPL v3 license. Please read the file COPYING, which should be located at the root of the project, for full details.

About

Read and combine data from the Atomic mass evaluation (AME) and NUBASE data files into a single array (std::vector) which can then be manipulated as required, or written to files for use with other code and software.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages