helicitydecay¶
-
class
HelicityAmplitudeGenerator
(top_node_no_dynamics=True, name_generator=<expertsystem.amplitude.helicitydecay.HelicityAmplitudeNameGenerator object>)[source]¶ Bases:
expertsystem.amplitude.abstractgenerator.AbstractAmplitudeGenerator
-
class
HelicityAmplitudeNameGenerator
(use_parity_conservation=False)[source]¶ Bases:
expertsystem.amplitude.abstractgenerator.AbstractAmplitudeNameGenerator
-
determine_attached_final_state
(graph, edge_id)[source]¶ Determines all final state particles of a graph, which are attached downward (forward in time) for a given edge (resembling the root)
- Parameters
graph (
StateTransitionGraph
) –edge_id (int) – id of the edge, which is taken as the root
- Returns
list of final state edge ids ([int])
-
get_parent_recoil_edge
(graph, edge_id)[source]¶ Determines the id of the recoil edge of the parent edge for the specified edge of a graph.
- Parameters
graph (
StateTransitionGraph
) –edge_id (int) – id of the edge, for which the parents recoil partner is determined
- Returns
parent recoil edge id (int)
-
get_prefactor
(graph)[source]¶ calculates the product of all prefactors defined in this graph as a double
-
get_recoil_edge
(graph, edge_id)[source]¶ Determines the id of the recoil edge for the specified edge of a graph.
- Parameters
graph (
StateTransitionGraph
) –edge_id (int) – id of the edge, for which the recoil partner is determined
- Returns
recoil edge id (int)
-
group_graphs_same_initial_and_final
(graphs)[source]¶ Each graph corresponds to a specific state transition amplitude. This function groups together graphs, which have the same initial and final state (including spin). This is needed to determine the coherency of the individual amplitude parts.
- Parameters
graphs ([
StateTransitionGraph
]) –- Returns
graph groups ([[
StateTransitionGraph
]])