changing the emission line velocity width
还没有人认领这个 Issue。
评估
调研方向
首先阅读 stellarpop_api 文档,并运行随附的光谱示例。跟踪 smooth_velocity、smooth_lsf 和 nebemlineinspec 如何影响恒星连续谱和发射线;完成的标准是确定一种受支持的方法,在不平滑连续谱的情况下缩窄 [OII] 双线,或记录说明该行为需要单独的更改。
由索引模型根据 Issue 内容生成。
描述
Apologies if this information is in the documentation or in previously closed tickets, but I'd like to change (reduce) the velocity width of the emission lines without smoothing the stellar continuum. E.g., in the example below I would like to change the velocity width so the [OII] doublet is well-resolved.
According to the docs, smooth_velocity=True but smooth_lsf=False, by default, so there shouldn't be any supplemental smoothing. But clearly the lines are pretty broad (hard to tell, but I would guess >>100 km/s).
Any advice or guidance would be much-appreciated!
import fsps
import matplotlib.pyplot as plt
sp = fsps.StellarPopulation(compute_vega_mags=False,
add_dust_emission=True,
add_neb_emission=True,
nebemlineinspec=True,
imf_type=1, # Chabrier
dust_type=0,
dust_index=-0.7,
sfh=0,
zcontinuous=1)
wave, flux = sp.get_spectrum(tage=1e-3, peraa=True)
I = (wave > 3697.) * (wave < 3757.)
fig, ax = plt.subplots()
ax.plot(wave[I], flux[I])
ax.set_xlabel('Wavelength (Angstrom)')
ax.set_ylabel('Flux')
fig.savefig('fsps-linewidth.png')
- 主要语言
- 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#217 ·
-
难度 4/5 3-5 天 新手友好度 28/100
dfm/python-fsps#199 · 4 条评论 ·
-
dfm/python-fsps#197 · 2 条评论 · 已指派 1 人 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
难度 2/5 1-3 小时 新手友好度 88/100
OpenHands/extensions#626 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
CSCfi/sd-search-api#39 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 68/100
StevenBlack/hosts#3255 ·