/molecular_hydrogen

Molecular Hydrogen rest wavelengths, Einstein A values, etc.

Primary LanguagePython

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 git@github.com: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