ampform#
import ampform
Build amplitude models with different PWA formalisms.
AmpForm formalizes formalisms from Partial Wave Analysis. It provides
tools to convert StateTransition
solutions that the qrules
package found into an HelicityModel
. The output HelicityModel
can then be used by
external fitter packages to generate a data set (toy Monte Carlo) for this specific
reaction process, or to optimize (βfitβ) its parameters so that they resemble the data
set as good as possible.
- get_builder(reaction: ReactionInfo) HelicityAmplitudeBuilder [source]#
Get the correct
HelicityAmplitudeBuilder
.For instance, get
CanonicalAmplitudeBuilder
if theformalism
is"canonical-helicity"
.
Submodules and Subpackages
- dynamics
BlattWeisskopfSquared
EnergyDependentWidth
relativistic_breit_wigner()
relativistic_breit_wigner_with_ff()
formulate_form_factor()
- builder
- kmatrix
- phasespace
- helicity
HelicityModel
ParameterValues
ParameterValue
DynamicsSelector
HelicityAmplitudeBuilder
HelicityAmplitudeBuilder.naming
HelicityAmplitudeBuilder.align_spin
HelicityAmplitudeBuilder.use_helicity_couplings
HelicityAmplitudeBuilder.adapter
HelicityAmplitudeBuilder.dynamics_choices
HelicityAmplitudeBuilder.stable_final_state_ids
HelicityAmplitudeBuilder.scalar_initial_state_mass
HelicityAmplitudeBuilder.set_dynamics()
HelicityAmplitudeBuilder.formulate()
CanonicalAmplitudeBuilder
formulate_clebsch_gordan_coefficients()
formulate_wigner_d()
formulate_spin_alignment()
formulate_rotation_chain()
formulate_helicity_rotation_chain()
formulate_wigner_rotation()
formulate_helicity_rotation()
- decay
StateWithID
TwoBodyDecay
is_opposite_helicity_state()
get_sibling_state_id()
get_helicity_info()
get_parent_id()
list_decay_chain_ids()
get_sorted_states()
assert_isobar_topology()
assert_two_body_decay()
determine_attached_final_state()
get_prefactor()
group_by_spin_projection()
group_by_topology()
- naming
NameGenerator
HelicityAmplitudeNameGenerator
HelicityAmplitudeNameGenerator.parity_partner_coefficient_mapping
HelicityAmplitudeNameGenerator.insert_parent_helicities
HelicityAmplitudeNameGenerator.insert_child_helicities
HelicityAmplitudeNameGenerator.generate_amplitude_name()
HelicityAmplitudeNameGenerator.generate_two_body_decay_suffix()
HelicityAmplitudeNameGenerator.generate_sequential_amplitude_suffix()
CanonicalAmplitudeNameGenerator
generate_transition_label()
get_helicity_angle_symbols()
get_boost_chain_suffix()
get_helicity_suffix()
get_topology_identifier()
natural_sorting()
- io
- kinematics
HelicityAdapter
create_four_momentum_symbols()
FourMomenta
FourMomentumSymbol
Energy
FourMomentumX
FourMomentumY
FourMomentumZ
ThreeMomentum
EuclideanNorm
EuclideanNormSquared
three_momentum_norm()
InvariantMass
Phi
Theta
NegativeMomentum
MinkowskiMetric
BoostZMatrix
BoostMatrix
RotationYMatrix
RotationZMatrix
compute_helicity_angles()
compute_invariant_masses()
compute_wigner_angles()
compute_wigner_rotation_matrix()
compute_boost_chain()
get_four_momentum_sum()
get_invariant_mass_symbol()
- phasespace
- sympy