changing the emission line velocity width

オープン
#229 コメント 8 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
fortran, python
領域
data

調査の方向性

まず 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')

Screenshot 2023-08-29 at 2 29 40 PM

主要言語
Python
スター
76
フォーク
45
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dfm/python-fsps のほかの issue

dfm/python-fsps の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。