HD23

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

Bases: BaseExtGrainModel

Hensley & Draine (2023) Grain Model

Parameters:
None
Raises:
None

Notes

From Hensley & Draine (2023, ApJ, 948, 55). File from https://dataverse.harvard.edu/dataverse/astrodust

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 HD23

fig, ax = plt.subplots()

ext_model = HD23()

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

Attributes Summary

possnames

x_range

Attributes Documentation

possnames = {'MWRV31': ('astrodust+PAH_MW_RV3.1.fits', 3.1)}
x_range = [3.3333333333333335e-05, 10.0]