Skip to content

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.

License

Notifications You must be signed in to change notification settings

php1ic/nuclear-data-reader

Repository files navigation

Nuclear Data Reader


Status GitHub Issues GitHub Pull Requests License: GPL v3 codecov CodeFactor Codacy Badge


OS Config Build Status Compiler Version
Linux linux.yml Linux Builds gcc11, clang15
Windows (MSVC) windows.yml Windows Builds MSVC-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:

Year Atomic Mass Evaluation NUBASE
1971 URL - DOI (Investigating if data files exists)
1977 URL - DOI (Investigating if data files exists)
1983 URL - DOI
1993 URL - DOI
1995 URL - DOI
1997 No AME, but the 1995AME matches the 1997NUBASE.
See section 4, "The tables" on P31 of these proceedings
URL - DOI
2003 URL - DOI URL - DOI
2012 URL - DOI URL - DOI
2016 URL - DOI URL - DOI
2020 URL - DOI URL - 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published