feynlag.pheno.particles.expand_particles

feynlag.pheno.particles.expand_particles(particles)[source]

Merge a list of DiracParticle into the calculator’s dicts.

Returns:

(particle_map, masses, color_registry) — the three mappings the DecayCalculator consumes.

Raises:

ValueError – two particles claim the same Weyl leg or the same particle symbol with a conflicting mass — a modelling mistake that would otherwise merge silently.