Skip to content

afloers/NIST_ASD_Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIST_ASD_Data

Overview

This repository provides Python tools for retrieving and processing atomic structure data from the NIST Atomic Spectra Database (ASD). It enables users to query energy levels, transition probabilities, and spectral line data, facilitating research in atomic physics, astrophysics, and radiative transfer modeling.

Features

  • Query NIST ASD for atomic energy levels and transitions.
  • Parse and structure retrieved data for easy analysis.
  • Export data in structured formats for further processing.
  • Support for Non-LTE radiative transfer applications.

Installation

Clone the repository and install dependencies:

git clone https://github.com/afloers/NIST_ASD_Data.git
cd NIST_ASD_Data
pip install -r requirements.txt

Usage

Example: nistspectrum=Fe+II.webdump.dat

Configuration	  Term	    J	      Prefix	Level (cm-1)	  Suffix
 "3d6.(5D).4s"	  "a 6D"    "9/2"     ""        "0.0000"          ""	
 "3d6.(5D).4s"	  "a 6D"    "7/2"     ""        "384.7872"        ""	
 "3d6.(5D).4s"	  "a 6D"    "5/2"     ""        "667.6829"        ""	
 "3d6.(5D).4s"	  "a 6D"    "3/2"     ""        "862.6118"        ""	
 "3d6.(5D).4s"	  "a 6D"    "1/2"     ""        "977.0498"        ""	
 "3d7"	          "a 4F"    "9/2"     ""        "1872.5998"       ""	
 "3d7"	          "a 4F"    "7/2"     ""        "2430.1369"       ""	
 "3d7"	          "a 4F"    "5/2"     ""        "2837.9807"       ""	
 "3d7"	          "a 4F"    "3/2"     ""        "3117.4877"       ""	
 "3d6.(5D).4s"	  "a 4D"    "7/2"     ""        "7955.3186"       ""	
 "3d6.(5D).4s"	  "a 4D"    "5/2"     ""        "8391.9554"       ""	
 "3d6.(5D).4s"	  "a 4D"    "3/2"     ""        "8680.4706"       ""	
 "3d6.(5D).4s"	  "a 4D"    "1/2"     ""        "8846.7837"       ""	

Dependencies

  • Python 3.x
  • requests (for web queries)
  • pandas (for data processing)

Install dependencies using:

pip install -r requirements.txt

License

This project is released under the MIT License. See LICENSE for details.

Acknowledgments

Data is sourced from the NIST Atomic Spectra Database. For citation and proper use, refer to the official NIST ASD documentation.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

About

Data dump from the NIST ASD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published