Skip to content

Data structure for decay description #2

@redeboer

Description

@redeboer

Decays are described by a PdgBranchingFraction. Information about decay products can be found by inspecting its description string property.

>>> import pdg
>>> PDG = pdg.connect()
>>> decay = PDG.get("M070.313/2023")
>>> decay.description
'J/psi(1S) --> rho(1700) pi --> pi+ pi- pi0'

It would be handy if this decay information is provided in the form of a data structure à la decaylanguage. Note that this does not always work, however, for instance:

>>> PDG.get("M070.3/2023").description
'J/psi(1S) --> hadrons'

Metadata

Metadata

Assignees

No one assigned

    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