ZDA04¶
- class dust_extinction.grain_models.ZDA04(modelname='BARE-GR-S', **kwargs)[source]¶
Bases:
BaseExtGrainModel
Zubko, Dwek, & Arendt (2004) Grain Models
- Parameters:
- None
- Raises:
- None
Notes
BARE-GR-S model from Zubko, Dwek, & Arendt (2004, ApJS, 152, 211) Calculated by K. Misselt using ZDA04 grain size distributions and compositions
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 ZDA04 fig, ax = plt.subplots() tmod = ZDA04() possmodels = tmod.possnames.keys() # generate the curves and plot them lam = np.logspace(-3.0, 4.0, num=1000) x = (1.0 / lam) / u.micron for cmodel in possmodels: # define the extinction model ext_model = ZDA04(cmodel) ax.plot(lam,ext_model(x),label=cmodel) 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
)Attributes Summary
Attributes Documentation
- possnames = {'BARE-GR-S': ('zubko2004_bare-gr-s_alam_av.dat', 3.1)}¶
- x_range = [0.0001, 1000.0]¶