Skip to main content

Calculate infrared pumping rates by solar radiation

Project description

cine is a tool for calculating infrared pumping efficiencies. At large nucleocentric distances, one of the main mechanisms for molecular excitation in comets is the fluorescence by the solar radiation followed by radiative decay to the ground vibrational state. This code calculates the effective pumping rates for rotational levels in the ground vibrational state scaled by the heliocentric distance of the comet. These coefficients are useful for modeling rotational emission lines observed in cometary spectra at sub-millimeter wavelengths.

Code releases are available on PyPI, and development happens in the github project page.

Installation and Dependencies

The code requires the standard scientific Python packages (numpy, scipy, and pandas) and astropy’s affiliated package astroquery to access the HITRAN and Lamda databases. Running the tests requires nose.

cine can be installed using pip:

$ pip install cine

or by cloning the github repository:

$ # If you have a github account:
$ git clone git@github.com:migueldvb/cine.git
$ # If you do not:
$ git clone https://github.com/migueldvb/cine.git
$ cd cine
$ python setup.py install
$ # Or if you do not have root privileges:
$ python setup.py install --user

Downloading HITRAN data

To download the molecular data cine uses the astroquery.hitran and astroquery.lamda tools. Set the LAMDA_DATA and HITRAN_DATA environment variables (otherwise, the default ~/.astropy/cache/astroquery/Lamda and ~/.astropy/cache/astroquery/hitran will be used),

Tests

If nose is installed the tests can be run from the root of the repository as:

$ python setup.py test

License

Copyright 2017 Miguel de Val-Borro

cine 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.

Source Distribution

cine-0.1.1.3.tar.gz (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page