API Reference

Auto-generated from docstrings via sphinx.ext.autosummary. Each module page lists its public classes and functions with full signatures; cross-refs ({func}, {class}) used throughout the Algorithms Manual link here.

feynlag.parameters

Model parameters: external (experiment-fixed) vs internal (derived).

feynlag.fields

Particle field classes.

feynlag.groups.base

Symmetry group base classes.

feynlag.groups.gauge

Gauge groups with explicit generator matrices.

feynlag.groups.discrete

Discrete symmetries: Z_N and S_3 (extensible to other finite groups).

feynlag.lagrangian

Lagrangian assembly and the top-level Model object.

feynlag.operators

Derivative operators and momentum-space substitution.

feynlag.invariance

Symmetry and consistency checks for Lagrangian terms.

feynlag.models

Reusable Standard Model building blocks.

feynlag.suggest

Invariant-term suggestion: enumerate the Lagrangian a model can have.

feynlag.dirac

Dirac / Clifford algebra layer.

feynlag.vacuum.ewsb

Electroweak symmetry breaking: the Vacuum object.

feynlag.vacuum.tadpoles

Tadpole conditions: extraction and solving.

feynlag.vacuum.masses

Mass-matrix extraction.

feynlag.vacuum.diagonalize

Rotations from the weak basis to the physical (mass) basis.

feynlag.vertices.extract

Interaction-coefficient extraction from a Lagrangian.

feynlag.vertices.bilinear

The fermion bilinear track.

feynlag.vertices.vertex

Vertex objects and the closed Lorentz-structure catalog.

feynlag.vertices.yangmills

Triple and quartic gauge self-couplings from group data.

feynlag.export.latex

LaTeX vertex-table generation.

feynlag.export.ufo.writer

UFO model directory writer.

feynlag.export.ufo.vvvv

Gauge self-coupling export helpers.

feynlag.export.ufo.lorentz_map

UFO Lorentz structures for the closed v1 vertex catalog.

feynlag.pheno

Phenomenology: decay widths, branching ratios and 2→2 cross sections.

feynlag.pheno.engine

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

feynlag.pheno.lorentz

Covariant Dirac-trace engine for squared amplitudes.

feynlag.pheno.kinematics

Two- and three-body phase space kinematics.

feynlag.pheno.amplitudes

Spin-averaged squared amplitudes for the three-leg vertex catalog.

feynlag.pheno.vertices

Unified decay-vertex view over feynlag's two extraction tracks.

feynlag.pheno.particles

Physical (post-EWSB) Dirac particles for the decay calculator.

feynlag.pheno.propagator

Internal propagators for off-shell (multi-body) decay amplitudes.

feynlag.pheno.integrate

Numerical integration: Dalitz plots (1→3 widths) and 1-D angular integrals.

feynlag.pheno.offshell

Off-shell (1→3) decay amplitudes: a scalar to one on-shell + one off-shell V.

feynlag.pheno.loop

Loop-induced Higgs decays: $hto gg,gammagamma,Zgamma$ (Tier 3).

feynlag.pheno.calculator

Partial widths, total widths and branching ratios from a feynlag model.

feynlag.pheno.epsilon

The ε (γ₅) trace algebra: Tier 2 of docs/manual/scattering_roadmap.md.

feynlag.pheno.diagrams

Amplitude-level diagram objects: open spinor chains, propagators, |M|².

feynlag.pheno.scattering

2→2 differential and total cross sections: averaging + Tier-1 assemblers.

feynlag.pheno.topology

s/t/u topology enumeration for 2→2 four-fermion processes (Tier 3).

feynlag.pheno.contraction

Scalar-level reduction of fully contracted Dirac traces.

feynlag.pheno.line

One open fermion line with external bosons: f f̄ → B B, f B → f B.

feynlag.pheno.boson

An amplitude with no fermion line: four external bosons (gg→gg).

feynlag.pheno.boson_vertices

Bosonic three-point vertices as Lorentz tensors (Tier 4, stages 4b–4c).

feynlag.pheno.colour

Colour factors of 2→2 diagrams (Tier 5, stage 5a).

feynlag.pheno.scattering_calculator

2→2 cross sections straight from a feynlag model (Tier 3).

feynlag.pheno.setup

Model-derived calculator setup, shared by the decay and scattering calculators' from_model constructors.

feynlag.pheno.names

Process names: resolve "e- e+ > w+ w-" to the model's symbols.

feynlag.pheno.summary

Readable results: diagram rows, ProcessSummary, DecayTable.

feynlag.pheno.units

Unit conversions for cross sections and widths, and the η acceptance.

feynlag.verify.checks

Executable physics invariants — the house verification toolkit.