ui¶
Module contents¶
Main interface of the expertsystem.
This module contains the functions that you need for the most common use cases
of the expertsystem.
-
class
StateTransitionManager(initial_state, final_state, allowed_intermediate_particles=None, interaction_type_settings=None, formalism_type='helicity', topology_building='isobar', number_of_threads=4, propagation_mode='fast')[source]¶ Bases:
objectMain handler for decay topologies.
-
find_solutions(graph_setting_groups)[source]¶ Check for solutions for a specific set of interaction settings.
-
property
formalism_type¶
-
write_amplitude_model(solutions: list, output_file: str) → None[source]¶ Generate an amplitude model from the solutions.
The type of amplitude model (
HelicityAmplitudeGeneratororCanonicalAmplitudeGenerator) is determined from theformalism_typethat was chosen when constructing theStateTransitionManager.
-
-
load_default_particle_list() → None[source]¶ Load the default particle list that comes with the expertsystem.
Warning
This resets all particle definitions and the removes particles that don’t exist in the particle list that ships with the
expertsystem!