Skip to content

Create a single source of truth for all theories #2019

@scarlehoff

Description

@scarlehoff

In #2018 the theory db utils are separated into the data package, like this external programs can easily depend not only on the theory cards but also in the definition of the theory.

My suggestion is something very simple, just a dataclass declaring the field, with several which will mandatory for everyone and some that will be optional (and for which can either set a default here or set None and let the decision to each program).

class _TheoryCard:
    ID: int
    PTO: int
    FNS: str
    DAMP: int
    IC: int
    ModEv: str
    XIR: float
    XIF: float
    NfFF: int

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions