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:
object
Main handler for decay topologies.
-
find_solutions
(graph_setting_groups)[source]¶ Check for solutions for a specific set of interaction settings.
-
write_amplitude_model
(solutions, output_file)[source]¶ Generate an amplitude model from the solutions.
The type of amplitude model (
HelicityAmplitudeGenerator
orCanonicalAmplitudeGenerator
) is determined from theformalism_type
that was chosen when constructing theStateTransitionManager
.- Return type
None
-
-
load_default_particle_list
()[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
!- Return type
None