Skip to content

Add ability to generate line list using NIST network services #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tepickering opened this issue Jun 15, 2018 · 3 comments
Open

Add ability to generate line list using NIST network services #28

tepickering opened this issue Jun 15, 2018 · 3 comments

Comments

@tepickering
Copy link
Contributor

NIST has a web application that lets you generate a thorium line list given a few parameters. the site can accessed at https://physics.nist.gov/cgi-bin/TH/site.cgi. pretty straightforward api for making the requests, e.g.:

https://physics.nist.gov/cgi-bin/TH/site.cgi?atlaschoice=Thorium&xscale=Wavelength&medium=vacuum&units=nm&low=350&high=360&current=20&convolve=gaussian&widthnum=0.01&userfile=&state=init

@tepickering
Copy link
Contributor Author

it was noted that it would probably be better to use the strong line databases. they can be fairly easily web-scraped from https://physics.nist.gov/PhysRefData/Handbook/element_name.htm. for each element, there's a strong lines link that will lead you to ascii tables like https://physics.nist.gov/PhysRefData/Handbook/Tables/thoriumtable2_a.htm.

@b1quint
Copy link

b1quint commented Jun 20, 2018

@simontorres and I have bee working on something like that. From my experience, the strong lines approach may not be a good option because different elements have pages with different numbers of tables (compare Na with Th for example).

I found the NIST Form for looking up wavelength tables and did a quick-and-dirty method that retrieves the data using the CGI. I just did a pull request on that (#30).

@simontorres
Copy link

I do prefer strong lines because the output is already filtered, though it is possible to do it afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants