conservationrules¶
Deprecated since version 0.1.3: Use QRules, AmpForm, and TensorWaves instead.
import pycompwa.expertsystem.state.conservationrules
Functors for quantum number condition checks.
- class AdditiveQuantumNumberConservation(qn_name)[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
checks for the conservation of an additive quantum number such as electric charge, baryon number, lepton number.
\(\sum q_{in} = \sum q_{out}\)
- class CParityConservation[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class ClebschGordanCheckHelicityToCanonical[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
implements clebsch gordan checks for \(S_1, S_2\) to \(S\) and the \(L,S\) to \(J\) coupling based on the conversion of helicity to canonical amplitude sums
- class DefinedForAllEdges[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractConditionFunctor
- class DefinedForAllOutgoingEdges[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractConditionFunctor
- class DefinedForInteractionNode[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractConditionFunctor
- class DefinedIfOtherQnNotDefinedInOutSeparate(other_qn_names)[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractConditionFunctor
Implements logic for…
- class GParityConservation[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class GellMannNishijimaRule[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class HelicityConservation[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class IdenticalParticleSymmetrization[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class MassConservation(width_factor=3)[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- check(ingoing_part_qns, outgoing_part_qns, interaction_qns)[source]¶
implements the mass check.
\(M_{out} - N \cdot W_{out} < M_{in} + N \cdot W_{in}\)
It makes sure that the net mass outgoing state \(M_{out}\) is smaller than the net mass of the ingoing state \(M_{in}\). Also the width \(W\) of the states is taken into account.
- class ParityConservation[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class ParityConservationHelicity[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
- class SpinConservation(spinlike_qn, use_projection=True)[source]¶
Bases:
pycompwa.expertsystem.state.conservationrules.AbstractRule
Implements conservation of a spin-like quantum number for a two body decay (coupling of two particle states).
See
check()
for details.