amplitude¶
Amplitude module for the helicity formalism.
Its responsibility is the construction of complicated helicity formalism
amplitude models using a recipe (see IntensityBuilder
). These models are
encapsulated in an IntensityTF
class, which can be evaluated as a regular
callable.
-
class
IntensityBuilder
(particles, kinematics, phsp_data=None)[source]¶ Bases:
object
Builds Intensities from helicity formalism recipe files.
- Parameters
particles (
dict
) – Contains info of various particles.kinematics (
HelicityKinematics
) – A helicity kinematics instance. Note that this kinematics instance will be modified in the process.phsp_data (
Optional
[dict
]) – A phase space event collection, required if a normalization of the Intensity is performed.
-
create_intensity
(recipe)[source]¶ Create an
IntensityTF
instance based on a recipe.- Parameters
recipe (
dict
) – Contains builder instructions. These recipe files can be generated via the expert system (seeHelicityAmplitudeGeneratorXML
)- Return type