Order of `final_state` can result in swapped decay products
Closed this issue · 0 comments
redeboer commented
With QRules v0.9.7:
pip install qrules==0.9.7
import graphviz
import qrules # v0.9.7
result = qrules.generate_transitions(
initial_state=("J/psi(1S)", [-1, +1]),
final_state=["Sigma+", "K0", "p~"],
allowed_intermediate_particles=["N(1440)"],
allowed_interaction_types="strong",
)
dot = qrules.io.asdot(result, collapse_graphs=True)
graphviz.Source(dot)
With QRules v0.8.2:
pip install qrules==0.8.2
import graphviz
import qrules
result = qrules.generate_transitions(
initial_state=("J/psi(1S)", [-1, +1]),
final_state=["p~", "Sigma+", "K0"],
allowed_intermediate_particles=["N(1440)"],
allowed_interaction_types="strong",
)
dot = qrules.io.asdot(result, collapse_graphs=True)
graphviz.Source(dot)