Function reference · Live example
Hadron amplitudes, angular-momentum couplings, Wigner matrices, Lorentz boosts, and Dalitz angles. Library version 0.1.
Coupled-channel amplitudes use
Four-vectors have shape [4], ordered [E, px, py, pz], with metric (+,-,-,-) and one shared energy unit. Wigner matrices have shape (two_j + 1, two_j + 1).
flatppl_compat = "0.1"
amp = load_module("https://raw.githubusercontent.com/flatppl-community/flatppl-amplitudes/858849d2d32dd0593eba37ca3e1d955f497ef796/main.flatppl")
coupling = amp.ls_coupling(
two_j = 3, two_j1 = 1, two_j2 = 2,
two_l = 2, two_s = 1, two_lambda1 = 1, two_lambda2 = 0)
rotation = amp.wignerd_matrix_doublearg(two_j = 1, cosbeta = 0.4)
The example uses doubled angular momenta. The coupling describes a spin-3/2 decay to spins 1/2 and 1, with orbital momentum 1. Array dimensions must be fixed before compilation.
The resonance example infers a pole mass from synthetic intensities. The LHCb examples present kinematics, amplitude models, and observables in that order.
See the reference for definitions, conventions, numerical limits, and validation. The library uses the MIT license, with third-party notices.