changing the emission line velocity width
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dfm/python-fsps のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
dfm/python-fsps#121 ·
-
Performance question オープン
難易度 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 名 ·
dfm/python-fsps の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
use-agent-os/agent-os#3314 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
BasedHardware/omi#15662 · コメント 1 件 ·
-
documentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
AiursoftWeb/AnduinOS-2#19 ·