Skip to content

Nebular grid fixes#84

Open
bd-j wants to merge 1 commit into
cconroy20:masterfrom
bd-j:fix_neb
Open

Nebular grid fixes#84
bd-j wants to merge 1 commit into
cconroy20:masterfrom
bd-j:fix_neb

Conversation

@bd-j

@bd-j bd-j commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes an issue with the nebular grids for the PRSC, PDVA, and MIST isochrones. Due to a transcription error when adding columns for new nebular lines, the metallicity and age grid point values of the non-BPASS nebular tables introduced in #70 were incorrect.

Generally, this means that the nebular spectrum returned by add_nebular.f90 was shifted in metallicity and age from the requested values. The shift is small in metallicity (< ~0.1 dex), except at [Fe/H] < -1, where the returned nebular spectrum could have as much as 0.5 dex lower metallicity than requested. The returned nebular spectrum was also for a slightly younger age population (by ~0.2 dex) meaning it would typically be appropriate for a bluer, harder ionizing spectrum. The nebular continuum and nebular line ratios and relative fractions remained consistent with each other (but not necessarily with gas_logz or the age distribution of the stars). The normalization of the line fluxes and nebular continuum remained consistent with the actual number of ionizing photons produced by the stellar model, such that e.g. Balmer line fluxes and equivalent widths were unaffected (modulo the very small effect from the T_e dependence of L_Ha/Q).

The changes in this PR are only to data files; they can therefore be incorporated in python-fsps by pointing the SPS_HOME environment variable to an updated FSPS repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant