- #1
AdrianD
- 8
- 2
Let's say I have a galaxy SED like this:
How do I get surface brightness from this?
SEDgen:
from synphot import SourceSpectrum
from synphot.models import BlackBodyNorm1D
sp = SourceSpectrum(BlackBodyNorm1D, temperature=6170.4796)
wave = sp.waveset
flux = sp(wave) #Photlam
flux_flam = flux.to(u.erg / u.s / u.angstrom/u.cm**2,equivalencies=u.spectral_density(wave))
plt.plot(wave, flux_flam)
plt.xlim(1000, 30000)
plt.xlabel('Wavelength (Angstrom)')
plt.ylabel('Flux [FLAM]')
How do I get surface brightness from this?