Skip to content

Molecular Hydrogen rest wavelengths, Einstein A values, etc.

Notifications You must be signed in to change notification settings

allisony/molecular_hydrogen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Documentation | View on Github | Download ZIP | Download TAR

Molecular Hydrogen Properties

A python toolkit to compute molecular hydrogen properties: rest wavelength, Einstein A coefficients, etc.

Right now, supports only the rovibrational transitions and is strongly targeted at the near-IR regime.

Why?

The NIST database: http://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740 http://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=1000 has none of these values, just the tools to produce them.

There are other pages: http://www.jach.hawaii.edu/UKIRT/astronomy/calib/spec_cal/h2_s.html that have nice lists of values, but they aren't easily machine readable.

Finally, the original source of these values is very difficult to find.

Installation

$ pip install -e [email protected]:keflavich/molecular_hydrogen.git

Usage

>>> from molecular_hydrogen import h2
>>> h2.linename_to_restwl('1-0 Q(1)')
2.406594067745623
>>> import astropy.units as u
>>> h2.linename_to_restwl('S(0) 0-0')*u.um
<Quantity 28.2206857627 um>
Bitdeli badge

About

Molecular Hydrogen rest wavelengths, Einstein A values, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%