dfm / dfm/python-fsps

Emission lines from post-AGB UV radiation

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

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

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

説明

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:
3Gyr_SSP_no_att_add_neb_pAGB
0p1Gyr_SSP_no_att_add_neb_pAGB

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

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

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

はじめの一歩

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

調査の方向性

まず、提供された Python スクリプトを実行し、get_spectrum の呼び出しと pAGB、nebemlineinspec、add_neb_emission パラメータを確認します。3 つの pAGB 値について得られたスペクトルを比較します。ゼロの輝線フラックスの原因が特定され、期待される動作または必要な設定が文書化された時点で、issue は完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
data
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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