decay#
import ampform_dpd.decay
Data structures that describe a three-body decay.
- StateID#
ID for any of the initial state or final state particles in a three-body decay.
alias of
Literal
[0, 1, 2, 3]
- class StateIDTemplate#
Generic template for the ID of a particle in a three-body decay.
alias of TypeVar(‘StateIDTemplate’, ~typing.Literal[0], ~typing.Literal[1, 2, 3], ~typing.Literal[0, 1, 2, 3])
- class Particle(name: str, latex: str, spin: SupportsFloat, parity: Literal[-1, 1] | None, mass: float, width: float)[source]#
Bases:
object
- class State(name: str, latex: str, spin: SupportsFloat, parity: Literal[-1, 1] | None, mass: float, width: float, index: StateIDTemplate)[source]#
Bases:
Particle
,Generic
[StateIDTemplate
]Initial or final state
Particle
in aThreeBodyDecay
, carrying an index.- index: StateIDTemplate[source]#
- class ParentType#
Type of the parent of an
IsobarNode
.alias of TypeVar(‘ParentType’, ~ampform_dpd.decay.Particle, ~ampform_dpd.decay.State[~typing.Literal[0]])
- class IsobarNode(parent: ParentType, child1: IsobarNode[Particle] | FinalState, child2: IsobarNode[Particle] | FinalState, interaction: LSCoupling | tuple[int, SupportsFloat] | None = None)[source]#
Bases:
Generic
[ParentType
]- parent: ParentType[source]#
- interaction: LSCoupling | None[source]#
- ProductionNode#
The first
IsobarNode
in aThreeBodyDecayChain
.alias of
IsobarNode
[State
[Literal
[0]]]
- DecayNode#
The second
IsobarNode
in aThreeBodyDecayChain
.alias of
IsobarNode
[Particle
]
- class ThreeBodyDecay(states: dict[StateID, State[StateID]], chains: Iterable[ThreeBodyDecayChain])[source]#
Bases:
object
- chains: tuple[ThreeBodyDecayChain, ...][source]#
- find_chain(resonance_name: str) ThreeBodyDecayChain [source]#
- get_subsystem(subsystem_id: Literal[1, 2, 3]) ThreeBodyDecay [source]#
- get_decay_product_ids(spectator_id: Literal[1, 2, 3]) tuple[Literal[1, 2, 3], Literal[1, 2, 3]] [source]#
- class ThreeBodyDecayChain(decay: IsobarNode[State[Literal[0]]])[source]#
Bases:
object
- decay: IsobarNode[State[Literal[0]]][source]#
- property final_state: tuple[State[Literal[1, 2, 3]], State[Literal[1, 2, 3]], State[Literal[1, 2, 3]]][source]#
- property production_node: IsobarNode[State[Literal[0]]][source]#
- property decay_node: IsobarNode[Particle][source]#
- property incoming_ls: LSCoupling | None[source]#
- property outgoing_ls: LSCoupling | None[source]#
- to_particle(isobar: IsobarNode[ParentType]) ParentType [source]#
- to_particle(isobar: State[StateIDTemplate]) State[StateIDTemplate]
- to_particle(isobar: Particle) Particle