canonicaldecay

class CanonicalAmplitudeGenerator(top_node_no_dynamics=True, name_generator=<expertsystem.amplitude.canonicaldecay.CanonicalAmplitudeNameGenerator object>)[source]

Bases: expertsystem.amplitude.helicitydecay.HelicityAmplitudeGenerator

This class defines a full amplitude in the canonical formalism, using the helicity formalism as a foundation. The key here is that we take the full helicity intensity as a template, and just exchange the helicity amplitudes F as a sum of canonical amplitudes a: F^J_lambda1,lambda2 = sum_LS { norm * a^J_LS * CG * CG } Here CG stands for Clebsch-Gordan factor.

generate_partial_decay(graph, node_id)[source]
class CanonicalAmplitudeNameGenerator(use_parity_conservation=False)[source]

Bases: expertsystem.amplitude.helicitydecay.HelicityAmplitudeNameGenerator

Generates names for canonical partial decays using the properties of the decay.

generate_unique_amplitude_name(graph, node_id=None)[source]

Generates a unique name for the amplitude corresponding to the given StateTransitionGraph. If node_id is given, it generates a unique name for the partial amplitude corresponding to the interaction node of the given StateTransitionGraph.

generate_clebsch_gordan_string(graph, node_id)[source]