SMC¶
- class eazy.sps.SMC[source]¶
Bases:
object
Modify
dust_extinction.averages.G03_SMCBar
to work as AttAttributes Summary
Methods Summary
evaluate
(x, Av, bump_ampl)uv_bump
(mu, bump_ampl)Drude profile for computing the UV bump.
Attributes Documentation
- SMCBar = <G03_SMCBar()>¶
- bump_ampl = Parameter('bump_ampl', value=0.0, bounds=(0.0, 10.0))¶
- bump_gamma = 0.04¶
- bump_x0 = 0.2175¶
Methods Documentation
- uv_bump(mu, bump_ampl)[source]¶
Drude profile for computing the UV bump.
- Parameters:
- x: np array (float)
expects wavelengths in [micron]
- x0: float
Central wavelength of the UV bump (in microns).
- gamma: float
Width (FWHM) of the UV bump (in microns).
- ampl: float
Amplitude of the UV bump.
- Returns:
- np array (float)
lorentzian-like Drude profile
- Raises:
- ValueError
Input x values outside of defined range