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
DynamicsProperties
[source]¶ Bases:
tuple
Data structure representing dynamic properties.
-
property
inv_mass_name
¶ Alias for field number 3
-
property
inv_mass_name_prod1
¶ Alias for field number 4
-
property
inv_mass_name_prod2
¶ Alias for field number 5
-
property
meson_radius
¶ Alias for field number 6
-
property
orbit_angular_momentum
¶ Alias for field number 0
-
property
resonance_mass
¶ Alias for field number 1
-
property
resonance_width
¶ Alias for field number 2
-
property
-
class
IntensityBuilder
(particles, kinematics, phsp_data=array([], dtype=float64))[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 (
ndarray
) – A phase space event collection, required if a normalization of the Intensity is performed.
-
create_dynamics
(decaying_state_name, dynamics_properties)[source]¶ Create a dynamics function callable.
- Parameters
decaying_state_name (
str
) –dynamics_properties (
DynamicsProperties
) –
- Return type
-
create_element
(recipe)[source]¶ Create a computation element from the recipe.
The recipe can only contain names registered in the pool of known element builders.
-
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 (seeHelicityAmplitudeGenerator
)- Return type