J13

class dust_extinction.grain_models.J13(modelname='MWRV31', **kwargs)[source]

Bases: dust_extinction.grain_models.GMBase

Jones et al (2013) Grain Models

Parameters
None
Raises
None

Notes

From Jones et al. (2013, A&A, 558, 62) and Kohler et al. (2014, A&A, 565, 9) Computed by DustEm and downloaded from the DustEm website.

Example showing the possible curves

import numpy as np
import matplotlib.pyplot as plt
import astropy.units as u

from dust_extinction.grain_models import J13

fig, ax = plt.subplots()

ext_model = J13()

lam = np.logspace(np.log10(1.0/ext_model.x_range[1]),
                  np.log10(1.0/ext_model.x_range[0]),
                  num=1000)
x = (1.0 / lam) / u.micron

# define the extinction model
ax.plot(lam,ext_model(x),label=ext_model.__class__.__name__)

ax.set_xlabel(r'$\lambda$ [$\mu m$]')
ax.set_ylabel(r'$A(x)/A(V)$')

ax.set_xscale('log')
ax.set_yscale('log')

ax.legend(loc='best')
plt.show()

(Source code, png, hires.png, pdf)

../_images/dust_extinction-grain_models-J13-1.png

Attributes Summary

possnames

x_range

Attributes Documentation

possnames = {'MWRV31': ('EXT_J13.RES.dat', 3.1)}
x_range = [1e-05, 25.0]