Skip to content

Add read_athtab function#15

Open
spacetimecurv wants to merge 1 commit intocomputationalrelativity:masterfrom
spacetimecurv:master
Open

Add read_athtab function#15
spacetimecurv wants to merge 1 commit intocomputationalrelativity:masterfrom
spacetimecurv:master

Conversation

@spacetimecurv
Copy link
Copy Markdown
Contributor

This adds a function to read .athtab tables. Any suggestions to improve the code?

@dradice dradice requested a review from jfields7 March 31, 2026 13:04
Comment on lines +1641 to +1644
self.Y["e"] = data["Y[e]"]
self.Y["n"] = data["Y[n]"]
self.Y["p"] = data["Y[p]"]
self.Y["He4"] = data["Y[He4]"]
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.

This needs to be more generic because not every EOS provides these fields, and some EOSs provide other fields. For example, I have various DD2 tables that define no fields except for Q1 through Q7 and cs2, and I have an SFHo table that also defines Y[He3], Y[H2], Y[H3], Y[N], A[N], and Z[N] in addition to these fields.

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