BaseExtGrainModel¶
- class dust_extinction.baseclasses.BaseExtGrainModel(*args, meta=None, name=None, **kwargs)[source]¶
Bases:
BaseExtModel
Base for Grain Models
- Parameters:
- None
- Raises:
- None
Methods Summary
evaluate
(in_x)Generic dust grain model function
Methods Documentation
- evaluate(in_x)[source]¶
Generic dust grain model function
- Parameters:
- in_x: float
expects either x in units of wavelengths or frequency or assumes wavelengths in wavenumbers [1/micron]
internally wavenumbers are used
- Returns:
- axav: np array (float)
A(x)/A(V) extinction curve [mag]
- Raises:
- ValueError
Input x values outside of defined range