Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions validphys2/src/validphys/sumrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def f(x, lpdf, Q):
"dbar momentum fraction": _make_momentum_fraction_integrand({"dbar": 1}),
"s momentum fraction": _make_momentum_fraction_integrand({"s": 1}),
"sbar momentum fraction": _make_momentum_fraction_integrand({"sbar": 1}),
"cp momentum fraction": _make_momentum_fraction_integrand({"c": 1, "cbar": 1}),
"cm momentum fraction": _make_momentum_fraction_integrand({"c": 1, "cbar": -1}),
"c momentum fraction": _make_momentum_fraction_integrand({"c": 1}),
"cbar momentum fraction": _make_momentum_fraction_integrand({"cbar": 1}),
"g momentum fraction": _make_momentum_fraction_integrand({"g": 1}),
"T3": _make_pdf_integrand({"u": 1, "ubar": 1, "d": -1, "dbar": -1}),
"T8": _make_pdf_integrand({"u": 1, "ubar": 1, "d": 1, "dbar": 1, "s": -2, "sbar": -2}),
Expand Down
14 changes: 7 additions & 7 deletions validphys2/src/validphys/tests/regressions/test_sum_rules_MC.csv
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
mean std min max Central value
momentum 1.0000359458599615 5.385117395915908e-07 1.0000346238340412 1.0000372086565177 1.0000359458599615
uvalence 1.999793799449731 0.00028234954210311494 1.9987651206113508 2.0001202779127003 1.999793799449731
dvalence 0.9997173113369405 0.00028258391399562657 0.9986902415578246 1.0000461119746231 0.9997173113369405
svalence 0.0002507254062852973 0.00033204351546896316 -0.0004241749177335691 0.0014490597353921664 0.0002507254062852973
cvalence -1.3025352765412643e-05 1.1554432934952783e-05 -5.583234972211999e-05 1.9950740100643446e-05 -1.3025352765412643e-05
momentum 1.0000359458599606 5.385117395757909e-07 1.0000346238340416 1.0000372086565177 1.0000359458599606
uvalence 1.9997937994497308 0.0002823495421036278 1.998765120611357 2.0001202779127008 1.9997937994497308
dvalence 0.9997173113369415 0.0002825839139808189 0.9986902415578234 1.000046111974624 0.9997173113369415
svalence 0.0002507254062854847 0.0003320435154690708 -0.00042417491773433236 0.0014490597353980783 0.0002507254062854847
cvalence -1.3025352767859037e-05 1.1554432932608113e-05 -5.583234971586067e-05 1.9950740099583314e-05 -1.3025352767859037e-05
u momentum fraction 0.2555 0.0021 -1.0 -1.0 -1.0
ubar momentum fraction 0.03387 0.00074 -1.0 -1.0 -1.0
d momentum fraction 0.1278 0.0021 -1.0 -1.0 -1.0
dbar momentum fraction 0.0422 0.0012 -1.0 -1.0 -1.0
s momentum fraction 0.0316 0.002 -1.0 -1.0 -1.0
sbar momentum fraction 0.0253 0.0012 -1.0 -1.0 -1.0
cp momentum fraction 0.0286 0.0017 -1.0 -1.0 -1.0
cm momentum fraction -7.024e-05 8.7e-07 -1.0 -1.0 -1.0
c momentum fraction 0.01426 0.00086 -1.0 -1.0 -1.0
cbar momentum fraction 0.01433 0.00086 -1.0 -1.0 -1.0
g momentum fraction 0.4466 0.0017 -1.0 -1.0 -1.0
T3 0.79 0.23 -1.0 -1.0 -1.0
T8 4.73 0.7 -1.0 -1.0 -1.0
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
mean std min max Central value
momentum 1.000035943610909 2.419447681485291e-07 1.0000357949386858 1.0000360070999197 1.000035943610909
uvalence 1.999805294825203 0.00028135968073985274 1.9996255039155302 1.999879589706442 1.999805294825203
dvalence 0.9997281952293998 0.0002880439907877597 0.9995455646219626 0.9998033688013619 0.9997281952293998
svalence 0.00021200815809931106 0.0003521795410429786 2.821261665280836e-05 0.00037062725233413807 0.00021200815809931106
cvalence -1.385051026082224e-05 1.173309523925793e-05 -2.193565375547429e-05 -1.1074824039685035e-05 -1.385051026082224e-05
momentum 1.000035943610909 2.419447680315018e-07 1.0000357949386856 1.000036007099919 1.000035943610909
uvalence 1.9998052948252174 0.0002813596809890596 1.9996255039155293 1.9998795897064394 1.9998052948252174
dvalence 0.9997281952294002 0.0002880439906419396 0.9995455646219639 0.9998033688013618 0.9997281952294002
svalence 0.00021200815810076823 0.0003521795410334347 2.8212616664191614e-05 0.00037062725233145966 0.00021200815810076823
cvalence -1.3850510260556828e-05 1.173309523572073e-05 -2.19356537524125e-05 -1.1074824041030964e-05 -1.3850510260556828e-05
u momentum fraction 0.2554 0.00025 -1.0 -1.0 -1.0
ubar momentum fraction 0.03386 0.0001 -1.0 -1.0 -1.0
d momentum fraction 0.1277 0.00029 -1.0 -1.0 -1.0
dbar momentum fraction 0.04224 0.00016 -1.0 -1.0 -1.0
s momentum fraction 0.03172 0.00027 -1.0 -1.0 -1.0
sbar momentum fraction 0.0253 0.00016 -1.0 -1.0 -1.0
cp momentum fraction 0.02882 0.00023 -1.0 -1.0 -1.0
cm momentum fraction -7.022e-05 1.1e-07 -1.0 -1.0 -1.0
c momentum fraction 0.01438 0.00011 -1.0 -1.0 -1.0
cbar momentum fraction 0.01445 0.00011 -1.0 -1.0 -1.0
g momentum fraction 0.44649 0.00025 -1.0 -1.0 -1.0
T3 0.807 0.033 -1.0 -1.0 -1.0
T8 4.65 0.1 -1.0 -1.0 -1.0
Loading