DBP90

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

Bases: BaseExtGrainModel

Desert et al (1990) Grain Models

Parameters:
None
Raises:
None

Notes

From Desert, Boulanger, & Puget (1990, A&A, 237, 215) 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 DBP90

fig, ax = plt.subplots()

ext_model = DBP90()

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

Attributes Summary

possnames

x_range

Attributes Documentation

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