Skip to content

Allows you to download files from the NIST database and save them in a readable easier to work .csv format.

License

Notifications You must be signed in to change notification settings

kaasknak/NISTdownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

This python3 program downloads X-ray Mass Attenuation Coefficients from the NIST database and saves them in a nice readable .csv file.

downloadNIST.py is more user friendly while adownloadNIST.py is more suitable for a larger amount of tables.

downloadNIST.py

  • Execute using "python3 downloadNIST.py" / "chmod +x downloadNIST.py && ./downloadNIST.py"
  • Follow instructions
  • Table will be saved in the same folder as you are in.

adownloadNIST.py

  • Execute "python3 adownloadNIST.py X" / "chmod +x adownloadNIST.py && ./adownloadNIST.py X" where X is the element name.
  • Csv data will be printed to the terminal.
  • Optionally you can pipe the data into a file or pipe it into other programs like sed (example: "python3 adownloadNIST.py Tb > path/to/file.csv")

About

Allows you to download files from the NIST database and save them in a readable easier to work .csv format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages