diff --git a/src/synthesizer/components/stellar.py b/src/synthesizer/components/stellar.py index e5bf4be617..7cd3b6c0db 100644 --- a/src/synthesizer/components/stellar.py +++ b/src/synthesizer/components/stellar.py @@ -929,6 +929,11 @@ def get_spectra_pacman( + self.spectra["old_attenuated"]._lnu ) + # Combine emergent spectra for young and old stars + self.spectra["emergent"] = ( + self.spectra["young_emergent"] + self.spectra["old_emergent"] + ) + # Force updating of the bolometric luminosity attribute. I don't # know why this is necessary. self.spectra["young_emergent"].measure_bolometric_luminosity()