Simple tools built on astropy's units & constants framework for computing the mass / column of a given chunk of dust.
Compare to https://code.google.com/p/agpy/source/browse/trunk/agpy/blackbody.py and https://code.google.com/p/agpy/source/browse/trunk/agpy/dust.py, which are standalone and do not make use of the units framework.
Installation is through normal pip:
pip install https://github.com/keflavich/dust_emissivity/archive/master.zip
Then, one can import:
import dust_emissivity
from dust_emissivity import blackbody, modified_blackbody, integrate_sed
There is an example notebook and docstrings