feynlag.pheno.diagrams.Leg

class feynlag.pheno.diagrams.Leg(momentum, mass, anti=False)[source]

One external fermion leg of an open spinor chain.

Parameters:
  • momentum (object) – the momentum TensorHead (e.g. kin.k1 from a TwoToTwoKinematics).

  • mass (Expr) – the leg’s mass.

  • anti (bool) – True for an antiparticle leg (Σ v v̄ = p̸ − m), False for a particle leg (Σ u ū = p̸ + m) — this is a property of the particle, not of whether the leg is incoming or outgoing; the incoming/outgoing distinction is instead encoded by which of a chain’s two legs the caller assigns to out (the ψ̄/bar slot) vs. inn (the ψ/field slot), following the standard external-fermion-line table (incoming particle / outgoing antiparticle → field slot; outgoing particle / incoming antiparticle → bar slot).

__init__(momentum, mass, anti=False)
Parameters:
Return type:

None

Methods

__init__(momentum, mass[, anti])

Attributes

anti

momentum

mass