AmpForm is a Python library of spin formalisms and dynamics with which you can automatically formulate symbolic amplitude models for Partial Wave Analysis. The resulting amplitude models are formulated with SymPy(a Computer Algebra System). This not only makes it easy to inspect and visualize the resulting amplitude models, but also means the amplitude models can be used as templates for faster computational back-ends (see TensorWaves)!
Visitampform.rtfd.iofor several usage examples. For an overview ofupcoming releases and planned functionality,see here.
- Automatic amplitude model building
Convert state transition graphs from QRulesto an amplitude model that is mathematically expressedwithSymPyand can beconverted to any backend(seeTensorWaves). - Spin formalisms
- Helicity formalism
- Canonical formalism
- Spin alignment for generic, multi-body decays that feature different decay topologies
- Dynamics
- Relativistic Breit-Wigner, optionally with form factors and/or energy-dependent width
- SymbolicK-matrix for an arbitrary number of poles and channels
- SymbolicP-vector for an arbitrary number of poles and channels