Y24

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

Bases: BaseExtGrainModel

Ysard et al. (2024) Grain Model (aka THEMIS 2.0)

Parameters:

None

Raises:

None

Notes

From Ysard et al. (2024, A&A, 684, 34). File from https://www.ias.u-psud.fr/themis/downloads_2.html

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 Y24

fig, ax = plt.subplots()

ext_model = Y24()

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

Attributes Summary

possnames

x_range

Attributes Documentation

possnames = {'MWRV31': ('THEMIS_2.0_EXT_2.RES.txt', 3.1)}
x_range = [1e-05, 25.0]