Skip to content

Commit f5fda90

Browse files
committed
v0.1.4 hotfix: actually ship QGRAF model files
1 parent afdd8f7 commit f5fda90

9 files changed

Lines changed: 242 additions & 5 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ bin/form
2323
*.log
2424
*.aux
2525

26-
# QGRAF output .mod files (but not our model files in contrib/qgraf/models/)
26+
# QGRAF-output .mod files only — our hand-written model files in
27+
# contrib/qgraf/models/ AND feynman_engine/resources/qgraf/models/ are
28+
# explicitly tracked (the latter ships in the pip wheel).
2729
*.mod
2830
!contrib/qgraf/models/*.mod
31+
!feynman_engine/resources/qgraf/models/*.mod
2932

3033
# Secrets / local config
3134
.env

.zenodo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "FeynmanEngine",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"upload_type": "software",
55
"access_right": "open",
66
"license": "gpl-3.0-only",

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cff-version: 1.2.0
22
message: "If you use this software, please cite it as below."
33
title: "FeynmanEngine"
4-
version: "0.1.3"
4+
version: "0.1.4"
55
type: software
66
license: "GPL-3.0-only"
77
abstract: "A Feynman diagram generator and amplitude calculator for particle physics with a Python API, browser UI, and packaged FastAPI service. Supports tree- and one-loop amplitudes, LO/NLO cross-sections (analytic K-factors, tabulated LHC ratios, Catani-Seymour subtraction, OpenLoops virtuals, EW Sudakov LL+NLL), differential observables, and PDF-convolved hadronic predictions."
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
% BSM simplified dark matter model for QGRAF
2+
%
3+
% Particles:
4+
% SM QED sector: em (e-), ep (e+), mum (mu-), mup (mu+), A (photon)
5+
% Mediator: Zp (Z' dark photon)
6+
% Dark matter: chi (scalar DM), chia (scalar DM antiparticle)
7+
%
8+
% This model supports processes like:
9+
% e+ e- -> chi chi~ (DM pair production via Z' or photon)
10+
% chi chi~ -> e+ e- (DM annihilation)
11+
% e+ e- -> e+ e- (SM Bhabha scattering)
12+
13+
% Propagators: [field, dual-field, sign]
14+
[em, ep, -]
15+
[mum, mup, -]
16+
[A, A, +]
17+
[Zp, Zp, +]
18+
[chi, chia, +]
19+
20+
% Vertices
21+
% SM photon couplings
22+
[em, ep, A]
23+
[mum, mup, A]
24+
% Z' couplings to SM fermions (dark photon couples like photon)
25+
[em, ep, Zp]
26+
[mum, mup, Zp]
27+
% Z' coupling to dark matter
28+
[chi, chia, Zp]
29+
% Higgs portal: DM quartic self-coupling (optional contact term)
30+
[chi, chia, chi, chia]
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
% Standard Model Electroweak model file for QGRAF
2+
% Full SM gauge sector: leptons, quarks, gamma, Z, W+/-, H
3+
4+
% Propagators: [field, dual-field, sign]
5+
% Leptons
6+
[em, ep, -]
7+
[mum, mup, -]
8+
[taum, taup, -]
9+
[nue, nuea, -]
10+
[numu, numua, -]
11+
[nutau, nutaua, -]
12+
% Quarks
13+
[uq, ua, -]
14+
[dq, da, -]
15+
[sq, sa, -]
16+
[cq, ca, -]
17+
[bq, ba, -]
18+
[tq, ta, -]
19+
% Gauge bosons
20+
[A, A, +]
21+
[Z, Z, +]
22+
[Wp, Wm, +]
23+
% Higgs
24+
[H, H, +]
25+
26+
% Vertices
27+
% QED-like photon couplings
28+
[em, ep, A]
29+
[mum, mup, A]
30+
[taum, taup, A]
31+
[uq, ua, A]
32+
[dq, da, A]
33+
[sq, sa, A]
34+
[cq, ca, A]
35+
[bq, ba, A]
36+
[tq, ta, A]
37+
% Z couplings
38+
[em, ep, Z]
39+
[mum, mup, Z]
40+
[taum, taup, Z]
41+
[nue, nuea, Z]
42+
[numu, numua, Z]
43+
[nutau, nutaua, Z]
44+
[uq, ua, Z]
45+
[dq, da, Z]
46+
[sq, sa, Z]
47+
[cq, ca, Z]
48+
[bq, ba, Z]
49+
[tq, ta, Z]
50+
% W couplings (charged current)
51+
% Leptons
52+
[em, nuea, Wp]
53+
[nue, ep, Wm]
54+
[mum, numua, Wp]
55+
[numu, mup, Wm]
56+
[taum, nutaua, Wp]
57+
[nutau, taup, Wm]
58+
% Quarks (Wp/Wm swapped for W propagator pairing)
59+
[uq, da, Wm]
60+
[dq, ua, Wp]
61+
[cq, sa, Wm]
62+
[sq, ca, Wp]
63+
[tq, ba, Wm]
64+
[bq, ta, Wp]
65+
% Gauge self-couplings
66+
[Wp, Wm, A]
67+
[Wp, Wm, Z]
68+
[Wp, Wm, A, A]
69+
[Wp, Wm, Z, Z]
70+
[Wp, Wm, Z, A]
71+
[Wp, Wp, Wm, Wm]
72+
% Higgs couplings
73+
[H, Z, Z]
74+
[H, Wp, Wm]
75+
[H, H, Z, Z]
76+
[H, H, Wp, Wm]
77+
[H, H, H]
78+
[H, H, H, H]
79+
% Yukawa (heavy flavors only)
80+
[em, ep, H]
81+
[mum, mup, H]
82+
[taum, taup, H]
83+
[tq, ta, H]
84+
[bq, ba, H]
85+
[cq, ca, H]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
% QCD model file for QGRAF
2+
% Particles: uq/ua (u quark/antiquark), dq/da, sq/sa, cq/ca, bq/ba, tq/ta
3+
% G (gluon), gh/gha (ghost/antighost)
4+
5+
% Propagators: [field, dual-field, sign]
6+
[uq, ua, -]
7+
[dq, da, -]
8+
[sq, sa, -]
9+
[cq, ca, -]
10+
[bq, ba, -]
11+
[tq, ta, -]
12+
[G, G, +]
13+
[gh, gha, -]
14+
15+
% Vertices
16+
[uq, ua, G]
17+
[dq, da, G]
18+
[sq, sa, G]
19+
[cq, ca, G]
20+
[bq, ba, G]
21+
[tq, ta, G]
22+
[G, G, G]
23+
[G, G, G, G]
24+
[gh, gha, G]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
% QCD+QED model file for QGRAF
2+
% QCD model extended with photon for mixed processes
3+
% (e.g. u u~ -> gamma g, u g -> u gamma)
4+
5+
% Propagators: [field, dual-field, sign]
6+
[uq, ua, -]
7+
[dq, da, -]
8+
[sq, sa, -]
9+
[cq, ca, -]
10+
[bq, ba, -]
11+
[tq, ta, -]
12+
[G, G, +]
13+
[gh, gha, -]
14+
[A, A, +]
15+
16+
% Vertices
17+
% quark-gluon
18+
[uq, ua, G]
19+
[dq, da, G]
20+
[sq, sa, G]
21+
[cq, ca, G]
22+
[bq, ba, G]
23+
[tq, ta, G]
24+
% triple and quartic gluon
25+
[G, G, G]
26+
[G, G, G, G]
27+
% ghost-gluon
28+
[gh, gha, G]
29+
% quark-photon
30+
[uq, ua, A]
31+
[dq, da, A]
32+
[sq, sa, A]
33+
[cq, ca, A]
34+
[bq, ba, A]
35+
[tq, ta, A]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
% QED model file for QGRAF
2+
% QED leptons plus photon
3+
4+
% Propagators: [field, dual-field, sign]
5+
% sign = - for fermions (loop sign), + for bosons
6+
[em, ep, -]
7+
[mum, mup, -]
8+
[taum, taup, -]
9+
[A, A, +]
10+
11+
% Vertices: [field1, field2, field3]
12+
[em, ep, A]
13+
[mum, mup, A]
14+
[taum, taup, A]

pyproject.toml

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,53 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "feynman-engine"
7-
version = "0.1.3"
7+
version = "0.1.4"
88
description = "Feynman diagram generator + amplitude/cross-section calculator wrapping QGRAF, FORM, LoopTools, OpenLoops, and LHAPDF"
99
readme = "README.md"
1010
requires-python = ">=3.11"
11+
license = "GPL-3.0-only"
12+
license-files = ["LICENSE"]
1113
authors = [
12-
{ name = "Elijah Cavan" },
14+
{ name = "Elijah Cavan", email = "elijah@baseballtradevalues.com" },
15+
]
16+
maintainers = [
17+
{ name = "Elijah Cavan", email = "elijah@baseballtradevalues.com" },
18+
]
19+
keywords = [
20+
"particle physics",
21+
"feynman diagrams",
22+
"scattering amplitudes",
23+
"quantum field theory",
24+
"QFT",
25+
"qgraf",
26+
"form",
27+
"looptools",
28+
"openloops",
29+
"lhapdf",
30+
"drell-yan",
31+
"NLO",
32+
"EW Sudakov",
33+
"Catani-Seymour",
34+
"parton distribution functions",
35+
"fastapi",
36+
"tikz-feynman",
37+
]
38+
classifiers = [
39+
"Development Status :: 4 - Beta",
40+
"Intended Audience :: Science/Research",
41+
"Intended Audience :: Education",
42+
"Topic :: Scientific/Engineering :: Physics",
43+
"Topic :: Scientific/Engineering :: Visualization",
44+
"Programming Language :: Python :: 3",
45+
"Programming Language :: Python :: 3.11",
46+
"Programming Language :: Python :: 3.12",
47+
"Programming Language :: Python :: 3.13",
48+
"Programming Language :: Python :: 3.14",
49+
"Operating System :: MacOS",
50+
"Operating System :: POSIX :: Linux",
51+
"Framework :: FastAPI",
52+
"Environment :: Web Environment",
53+
"Environment :: Console",
1354
]
1455
dependencies = [
1556
"numpy>=1.26",
@@ -30,7 +71,12 @@ dependencies = [
3071
[project.urls]
3172
Homepage = "https://github.com/ecavan/FeynmanAPI"
3273
Repository = "https://github.com/ecavan/FeynmanAPI"
74+
Documentation = "https://github.com/ecavan/FeynmanAPI/blob/main/README.md"
75+
"Installation Guide" = "https://github.com/ecavan/FeynmanAPI/blob/main/INSTALLATION.md"
76+
"Citation (CFF)" = "https://github.com/ecavan/FeynmanAPI/blob/main/CITATION.cff"
77+
"DOI (Zenodo)" = "https://doi.org/10.5281/zenodo.19673075"
3378
Issues = "https://github.com/ecavan/FeynmanAPI/issues"
79+
"Source Code" = "https://github.com/ecavan/FeynmanAPI"
3480

3581
[project.optional-dependencies]
3682
dev = [

0 commit comments

Comments
 (0)