Skip to content
/ pynch Public

python dash app to interrogate nuclear mass data

License

Notifications You must be signed in to change notification settings

php1ic/pynch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyNCH - The Python Nuclear CHart

Unit Tests codecov

Introduction

The nuclear mass tables produced by NUBASE and AME are parsed into pandas dataframes. These dataframes are then read with the dash module to create an interactive webpage to allow the user to interogate the data they are interested in.

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.

Additional functionality and polish will be added as I learn more about dash. In the meantime, suggestions are welcome via issues or a pull request.

Setup

As is the standard, you can confirm you have the necessary modules using the requirements.txt file

pip install --user -r requirements.txt

Running

With all of the necessary requirements installed, the below will start the app

python3 app.py

The console will tell you where to point your browser - likely http://127.0.0.1:8050/.

Mass tables

The data files released by the papers linked below are used to create the mass tables read by this code

The NUBASE files are read for all of the data values, with the AME files being used to populate an additional mass excess data field. No comparison or validation is done on common values.

Additional uses

If you want to do your own thing with the data, you could import this module, access MassTable().full_data, then sort, slice and filter the resultant dataframe to your heart's content.

About

python dash app to interrogate nuclear mass data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages