helicitydecay¶
Deprecated since version 0.1.3: Use QRules, AmpForm, and TensorWaves instead.
import pycompwa.expertsystem.amplitude.helicitydecay
- class HelicityAmplitudeGeneratorXML(top_node_no_dynamics=True, name_generator=<pycompwa.expertsystem.amplitude.helicitydecay.HelicityAmplitudeNameGenerator object>)[source]¶
Bases:
pycompwa.expertsystem.amplitude.abstractgenerator.AbstractAmplitudeGenerator
- class HelicityAmplitudeNameGenerator(use_parity_conservation=False)[source]¶
Bases:
pycompwa.expertsystem.amplitude.abstractgenerator.AbstractAmplitudeNameGenerator
- generate_amplitude_coefficient_infos(graph)[source]¶
Generates coefficient info for a sequential amplitude graph.
Generally, each partial amplitude of a sequential amplitude graph should check itself if it or a parity partner is already defined. If so a coupled coefficient is introduced.
- generate_unique_amplitude_name(graph, node_id=None)[source]¶
Generates a unique name for the amplitude corresponding to the given
StateTransitionGraph
.- Parameters
node_id – Use this argument to generate a unique name for the partial amplitude corresponding to the interaction node of the given
StateTransitionGraph
.
- 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
]])