Commit 47c91e8b authored by Médéric Boquien's avatar Médéric Boquien

Plot the nebular emission too.

parent 679c9187
......@@ -175,6 +175,18 @@ def _sed_worker(obs, mod, filters, sed_type, nologo):
sed['stellar.young'][wsed]),
label="Stellar unattenuated", color='b', marker=None,
nonposy='clip', linestyle='--', linewidth=0.5)
# Nebular emission
ax1.loglog(wavelength_spec[wsed],
(sed['nebular.lines_young'][wsed] +
sed['nebular.lines_old'][wsed] +
sed['nebular.continuum_young'][wsed] +
sed['nebular.continuum_old'][wsed] +
sed['attenuation.nebular.lines_young'][wsed] +
sed['attenuation.nebular.lines_old'][wsed] +
sed['attenuation.nebular.continuum_young'][wsed] +
sed['attenuation.nebular.continuum_old'][wsed]),
label="Nebular emission", color='y', marker=None,
nonposy='clip', linewidth=.5)
# Dust emission Draine & Li
if 'dust.Umin_Umin' in sed.columns:
ax1.loglog(wavelength_spec[wsed],
......
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