dfm / dfm/python-fsps

Emission lines from post-AGB UV radiation

Abierto
#217 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Python
Estrellas
76
Forks
45
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empiece ejecutando el script de Python proporcionado e inspeccionando la llamada a get_spectrum junto con los parámetros pAGB, nebemlineinspec y add_neb_emission. Compare los espectros resultantes para los tres valores de pAGB; el issue estará completo cuando se haya identificado la causa de los flujos de las líneas de emisión iguales a cero y se haya documentado el comportamiento esperado o la configuración requerida.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
data
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.