feynlag.pheno.engine

The engine under feynlag.pheno: the building blocks the calculators are made of.

feynlag.pheno itself exports what a user calls without knowing the engine (the calculators, DiracParticle, result tables, units and the closed-form widths). This module re-exports everything else: the vertex collection, kinematics, the Dirac/ε/tensor algebra, the 1→2 and 1→3 squared amplitudes, the 2→2 diagram and amplitude objects, colour tensors and the |M|² → observable functions. It is what the tests, the independent oracles and low-level work import:

from feynlag.pheno.engine import SpinorChain, TwoToTwoKinematics

Every name here is also importable from the submodule that defines it (feynlag.pheno.diagrams.SpinorChain is the same object). Importing one of these names from feynlag.pheno directly still works but is deprecated.