jywarren / spectral-workbench

Web-based tools for collecting, analyzing, and sharing data from a DIY spectrometer
http://spectralworkbench.org
GNU General Public License v3.0
95 stars 12 forks source link

create import system for open source spectra sources #54

Closed jywarren closed 10 years ago

jywarren commented 12 years ago

like the HITRAN and ASTER datasets.

this should also tag the imports as "ASTER" "HITRAN" and/or "transmission" "mid-infrared" "imported" etc etc

and will be the basis of identifications

Huge list here: http://www.lohninger.com/spectroscopy/dball.html

jywarren commented 11 years ago

ooh! -- http://www.mathworks.com/matlabcentral/fileexchange/34265

Queries the NIST ASD lines1.pl webform using wget and parses the returned output using sed and matlab intrinsics. Looks ugly, and probably could be optimized, but works OK for the meantime.

the relevant url is:

http://physics.nist.gov/cgi-bin/ASD/lines1.pl?encodedlist=XXT1XXR0q0qVqVIII&spectra=He&low_wl=150&upp_wn=&upp_wl=1500&low_wn=&unit=0&submit=Retrieve+Data&temp=&doppler=&eden=&iontemp=&java_window=3&java_mult=&format=1&line_out=0&remove_js=on&en_unit=0&output=0&page_size=15&show_obs_wl=1&show_calc_wl=1&order_out=0&max_low_enrg=&show_av=2&max_upp_enrg=&tsb_value=0&min_str=&A_out=0&intens_out=on&max_str=&allowed_out=1&forbid_out=1&min_accur=&min_intens=&conf_out=on&term_out=on&enrg_out=on&J_out=on&g_out=on

(for He)

and grab whats between the PRE tags