feynlag.pheno.particles.ExternalState¶
- class feynlag.pheno.particles.ExternalState(name, mass, spin, color=1)[source]¶
One external particle of a 2→2 scattering process.
DiracParticlebundles what a decaying fermion needs (mass, colour, its two Weyl legs). A scattering initial/final state additionally needs its spin, becauseaverage_factor()must average over the initial-state spin/colour degrees of freedom — the anti-pattern this replaces isffv_squared()’s hardcoded/3, an initial-state spin average masquerading as part of the Lorentz algebra, which made that function unreusable for an internal vector. Here the averaging factor is declared data, applied exactly once bycross_section().- Parameters:
- __init__(name, mass, spin, color=1)¶
Methods
__init__(name, mass, spin[, color])dof()spin_states() × color— the full averaging denominator unit.from_dirac_particle(dp[, spin])Build from a
DiracParticle, so mass andN_ccannot fall out of sync between the two descriptions.spin_states()Number of physical spin states:
1(scalar),2(fermion),2(massless vector) or3(massive vector).Attributes
colornamemassspin