feynlag.pheno.topology.enumerate_diagrams¶
- feynlag.pheno.topology.enumerate_diagrams(externals, vertices, kin, mass_of, width_of=None, conjugates=None)[source]¶
Every two-line, one-propagator tree diagram of a 2→2 fermion process.
- Parameters:
externals – four
ExternalFermion, in the order of the kinematics’ momentak1..k4(two incoming, then two outgoing).vertices –
DecayVertexlist (only theFFV/FFSones are used).kin – a
TwoToTwoKinematics.mass_of – callable
boson -> mass(should raiseKeyErrorfor an undeclared boson rather than assume zero).width_of – optional callable
boson -> width(default0).conjugates –
{boson: antiboson}for charged mediators.
- Returns:
list of
DiagramInfo.- Raises:
ValueError – the externals do not form two bar and two field slots (fermion number is not conserved by any pairing).