C11

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

Bases: GMBase

Compiegne et al (2011) Grain Models

Parameters:
None
Raises:
None

Notes

From Compiegne et al. (2011, A&A, 525, 103) 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 C11

fig, ax = plt.subplots()

ext_model = C11()

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-C11-1.png

Attributes Summary

possnames

x_range

Attributes Documentation

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