Commit 55493a4a authored by Médéric Boquien's avatar Médéric Boquien

Clarification of the differential reddening in the dustatt_calzleit module.

parent f9b60387
......@@ -6,6 +6,7 @@
### Fixed
- The best fit could not be computed in photo-z mode because the redshift was negative. (Médéric Boquien)
- The bayesian estimates could not be computed when some models were older than the age of the universe. (Médéric Boquien)
- The usage of `dustatt\_cazleit` causes some confusion regarding the reddening of the stars and of the gas. We have clarified that they are both attenuated with the same law and switched the differential reddening to 1 by default. (Médéric Boquien & Véronique Buat)
### Optimised
......
......@@ -185,8 +185,10 @@ def a_vs_ebv(wavelength, bump_wave, bump_width, bump_ampl, power_slope):
class CalzLeit(SedModule):
"""Calzetti + Leitherer attenuation module
This module computes the dust attenuation using the
formulae from Calzetti et al. (2000) and Leitherer et al. (2002).
This module computes the dust attenuation using the formulae from
Calzetti et al. (2000) and Leitherer et al. (2002). Note that both the
stars and the gas are attenuated with the same curve as opposed to Calzetti
et al. (2000) where the gas is attenuated with a Milky Way curve.
The attenuation can be computed on the whole spectrum or on a specific
contribution and is added to the SED as a negative contribution.
......@@ -204,7 +206,7 @@ class CalzLeit(SedModule):
"cigale_list(minvalue=0., maxvalue=1.)",
"Reduction factor for the E(B-V)* of the old population compared "
"to the young one (<1).",
0.44
1.0
)),
("uv_bump_wavelength", (
"cigale_list(minvalue=0.)",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment