Skip to content

Added SANDee models - #161

Open
efrain-alvarado-iii wants to merge 3 commits into
BDNYC:mainfrom
efrain-alvarado-iii:main
Open

Added SANDee models#161
efrain-alvarado-iii wants to merge 3 commits into
BDNYC:mainfrom
efrain-alvarado-iii:main

Conversation

@efrain-alvarado-iii

Copy link
Copy Markdown

Added metal-poor evolutionary models from Gerasimov et al. 2024

Included SANDee models from Alvarado et al. 2024, Gerasimov et al. 2024
now is able to read into SANDee
@kelle
kelle requested a review from SherelynA May 28, 2026 17:23

@SherelynA SherelynA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@efrain-alvarado-iii , I just had a couple of comments

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not familiar with the values from the evo model, but are the first values for age supposed to be zero @efrain-alvarado-iii ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@efrain-alvarado-iii , I am a bit confused about the naming of the evolutionary models, what does each name mean? For example, [SAND_z-0.15_a0.15_age.txt], what does the z, a mean in the names?

Comment thread sedkit/isochrone.py
self.path = str(importlib.resources.files('sedkit')/ 'data/models/evolutionary/{}.txt').format(self.name)
self.path = str(importlib.resources.files('sedkit') / 'data/models/evolutionary/{}.txt').format(self.name)

if not os.path.exists(self.path):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should work, since all the checks are being passed, but I think we could possibly format the two attempts to get the path, instead of just having a if statement that is going to be true even if the evo model you attempt is not the Sandee nor the one's already added. Does that make sense?

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.

2 participants