canonical_decay

Implementation of the canonical formalism for amplitude model generation.

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

Bases: expertsystem.amplitude.helicity_decay.HelicityAmplitudeGenerator

Amplitude model generator for the canonical helicity formalism.

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_{\lambda_1},\lambda_2 = sum_LS { norm * a^J_LS * CG * CG }\). Here, \(CG\) stands for Clebsch-Gordan factor.

generate_partial_decay(graph, node_id)[source]
class CanonicalAmplitudeNameGenerator[source]

Bases: expertsystem.amplitude.helicity_decay.HelicityAmplitudeNameGenerator

Generate names for canonical partial decays.

That is, using the properties of the decay.

generate_unique_amplitude_name(graph, node_id=None)[source]

Generates a unique name for the amplitude corresponding.

That is, corresponging 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]