Emission lines from post-AGB UV radiation
还没有人认领这个 Issue。
评估
调研方向
首先运行提供的 Python 脚本,并检查 get_spectrum 调用以及 pAGB、nebemlineinspec 和 add_neb_emission 参数。比较三个 pAGB 值对应的光谱;确定发射线通量为零的原因,并记录预期行为或所需配置后,该 issue 即完成。
由索引模型根据 Issue 内容生成。
描述
Hi,
I am running some models to test the UV contribution from the post-AGB stars to the emission lines of a galaxy. To test this, I use SSPs at the age of 3Gyrs (also tried for 0.1Gyrs and 5Gyrs). Models have no attenuation. The SSPs have solar metallicity. I test 3 separate instances which all have the same parameter values, except that each time I change the pAGB fraction to be 0, 0.5 and 1. I can see that I get ionizing radiation by turning on post-AGB stars.
The problem is that I get emission line fluxes that are all 0. Shouldn't this UV give emission lines for pAGB = 0.5 and pAGB = 1 ? Am I missing something obvious here?
From this tests I get the following plot:
The srcipt I run is the following:
import fsps
import matplotlib.pyplot as plt
import numpy as np
sp = fsps.StellarPopulation(zcontinuous=1)
sp.params['sfh'] = 0
sp.params['dust1'] = 0.0
sp.params['dust2'] = 0.0
sp.params['add_neb_emission'] = True
sp.params['add_dust_emission'] = True
sp.params['nebemlineinspec'] = True
sp.params['logzsol'] = 0.0
sp.params['gas_logz'] = sp.params['logzsol']
t = 3.0
for p in [0.0,0.5,1.0]:
sp.params['pagb'] = p
wave, flux = sp.get_spectrum(tage=t,peraa = True)
plt.loglog(wave, flux,label='pAGB = ' + str(p))
plt.xlabel('Wavelength (Angstroms)')
plt.ylim([1e-7, 1e-2])
plt.xlim([1e2, 1e5])
plt.ylabel('Flux')
plt.title('tage = ' + str(t)+'Gyr')
plt.legend(fontsize=14)
plt.show()
Best,
Babis
- 主要语言
- Python
- 星标
- 76
- 派生
- 45
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dfm/python-fsps 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
dfm/python-fsps#121 ·
-
难度 4/5 3-5 天 新手友好度 25/100
dfm/python-fsps#350 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
dfm/python-fsps#229 · 8 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 28/100
dfm/python-fsps#199 · 4 条评论 ·
-
dfm/python-fsps#197 · 2 条评论 · 已指派 1 人 ·
相似的 Issue
-
triage/confirmed
难度 2/5 1-3 小时 新手友好度 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
难度 1/5 1 小时以内 新手友好度 92/100
NousResearch/hermes-agent#118866 ·
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
apache/cloudstack#14222 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug
难度 2/5 1-3 小时 新手友好度 82/100