Calculate infrared pumping rates by solar radiation
Project description
irpumpy is a tool for calculating infrared pumping coefficients that are useful for modeling cometary spectra. One of the main mechanisms for molecular excitation in comets is the fluorescence by the solar radiation.
Dependencies
This code requires the standard scientific Python packages (numpy, scipy, and pandas) and astroquery to access HITRAN and Lamda databases.
Downloading HITRAN data
To download the molecular data irpumpy uses the astroquery.hitran and astroquery.lamda tools. Set the HITRAN_DATA environment variable (otherwise, the default ~/.hitran will be used),
Pumping coefficients for methanol
print(len(matched))
This should print 652 as of 2016-10-14.
Pumping coefficients for ortho-water
The EB catalog doesn’t include RA and Dec columns so to cross-match it takes one extra step::
import pandas as pd from gaia_kepler import data, tgas_match kic = data.KICatalog().df ebs = pd.merge(data.EBCatalog().df, kic[["kepid", "ra", "dec"]], on="kepid") matched = tgas_match(ebs) print(len(matched))
This should print 325.
License
Copyright 2016 Miguel de Val-Borro
irpumpy is free software made available under the MIT License. For details see the LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.