dfm / dfm/python-fsps

Relation between logzsol of fsps.StellarPopulation() and log(Z) of isochrone file

Open
#156 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
76
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hi,
How does the input of metallicity ( logzsol ) work.
When I give

sps = fsps.StellarPopulation(zcontinuous=1,logzsol=-0.4)
iso = sps.isochrones()

In the output, I get

age log(Z) mini mact logl logt logg phase composition log(weight) log(mdot) mags
5.5000 -2.0969 0.150000010 0.150000000 -2.4525 3.5402 NaN 0.0000 0.0000 -0.1873 -99.0000...

In input, I provided logzsol = -0.4, but in the output I get log(Z) = -2.0969. How logzsol and log(Z) are related?

I think it is a very silly question, but I am confused. I would be very grateful if anyone can help me with this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the fsps.StellarPopulation(logzsol=...) and sps.isochrones() entry points shown in the report, then inspect the isochrone output columns and metallicity definitions. Confirm how logzsol relates to the reported log(Z), using the provided example. The issue is done when the discrepancy and expected values are explained clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.