Skip to content

Commit 43d67c3

Browse files
authored
docs: Add talks and abstracts to documentation (#129)
1 parent 2a48b6e commit 43d67c3

File tree

10 files changed

+117
-0
lines changed

10 files changed

+117
-0
lines changed

docs/_static/css/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.highlight-latex pre {
2+
white-space: pre-wrap !important;
3+
}

docs/abstracts.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Abstracts
2+
=========
3+
4+
Here you can find all abstracts and the events they were used for.
5+
6+
.. toctree::
7+
:maxdepth: 2
8+
9+
abstracts/20251028.rst
10+
abstracts/20251011.rst
11+
abstracts/20250716.rst

docs/abstracts/20250716.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Graph Me If You Can: Modern Python Meets HEP Statistical Models
2+
===============================================================
3+
4+
**Used for:** :cite:p:`Stark_20250716`
5+
6+
**Abstract:**
7+
8+
Statistical tooling in the scientific python ecosystem continues to advance, while at the same time ``ROOT`` has recently adopted the HEP Statistics Serialization Standard (HS3) as the way of serializing RooWorkspaces for any probability model that has been built. There is a gap between packages such as jax and ``scipy.stats`` and what ``HS3`` provides. This is where ``pyhs3`` comes in—a modern Python implementation of ``HS3`` designed with modern scientific python development practices. Prioritizing a developer-friendly interface and cross-platform compatibility, pyhs3 provides a python-callable function built from the computational graph encoded in serialized ``HS3`` probability models.
9+
10+
The goal of this effort is to facilitate existing efforts in statistical inference (pyhf, zfit, cabinetry) and auto-differentiability (neos, MadJax, evermore, relaxed) by providing a common core for bidirectional translation of HS3-compatible workspaces.
11+
12+
We'll discuss the design of the library, how the pieces are defined, how to extend or contribute to it, and proof-of-concept with a real-world workspace from the ATLAS :math:`HH\to bb\gamma\gamma` analysis. The talk presents the ``pyhs3`` package as a step towards a common 'inference API' and providing implementations of many mathematical probability distributions common in HEP.
13+
14+
.. code-block:: latex
15+
16+
Statistical tooling in the scientific python ecosystem continues to advance, while at the same time \texttt{ROOT} has recently adopted the HEP Statistics Serialization Standard (HS3) as the way of serializing RooWorkspaces for any probability model that has been built. There is a gap between packages such as jax and \texttt{scipy.stats} and what \texttt{HS3} provides. This is where \texttt{pyhs3} comes in—a modern Python implementation of \texttt{HS3} designed with modern scientific python development practices. Prioritizing a developer-friendly interface and cross-platform compatibility, pyhs3 provides a python-callable function built from the computational graph encoded in serialized \texttt{HS3} probability models.
17+
18+
The goal of this effort is to facilitate existing efforts in statistical inference (pyhf, zfit, cabinetry) and auto-differentiability (neos, MadJax, evermore, relaxed) by providing a common core for bidirectional translation of HS3-compatible workspaces.
19+
20+
We'll discuss the design of the library, how the pieces are defined, how to extend or contribute to it, and proof-of-concept with a real-world workspace from the ATLAS $HH\to bb\gamma\gamma$ analysis. The talk presents the \texttt{pyhs3} package as a step towards a common 'inference API' and providing implementations of many mathematical probability distributions common in HEP.

docs/abstracts/20251011.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Efficient Statistical Modeling for Particle Physics Using Computational Graphs in Python
2+
========================================================================================
3+
4+
**Used for:** :cite:ps:`Stark_20251028,Smith_20251011`
5+
6+
**Abstract:**
7+
8+
Statistical modeling is central to discovery in particle physics, yet the tools commonly used to define, share, and evaluate these models are often complex, fragmented, or tightly coupled to legacy systems. In parallel, the scientific Python community has developed a variety of statistical modeling tools that have been widely adopted for their performance and ease of use, but remain under-utilized in particle physics. We attempt to bridge this gap with a lightweight python framework that calculates likelihood ratios through the construction and evaluation of computational graphs. With modularity, auto-differentiability, and computational efficiency in mind, we designed the framework to integrate with modern scientific computing ecosystems while providing a clean, well-documented, and extendable API. This implementation makes published particle physics results more transparent, reproducible, and accessible for reanalysis. We present the initial framework, validate its results against established calculations, examine its performance relative to existing systems, and outline future development plans.
9+
10+
This work was supported by the U.S. Department of Energy (DOE) Office of High Energy Physics under Grant No. DE-SC0010107.
11+
12+
.. code-block:: latex
13+
14+
Statistical modeling is central to discovery in particle physics, yet the tools commonly used to define, share, and evaluate these models are often complex, fragmented, or tightly coupled to legacy systems. In parallel, the scientific Python community has developed a variety of statistical modeling tools that have been widely adopted for their performance and ease of use, but remain under-utilized in particle physics. We attempt to bridge this gap with a lightweight python framework that calculates likelihood ratios through the construction and evaluation of computational graphs. With modularity, auto-differentiability, and computational efficiency in mind, we designed the framework to integrate with modern scientific computing ecosystems while providing a clean, well-documented, and extendable API. This implementation makes published particle physics results more transparent, reproducible, and accessible for reanalysis. We present the initial framework, validate its results against established calculations, examine its performance relative to existing systems, and outline future development plans.
15+
16+
This work was supported by the U.S. Department of Energy (DOE) Office of High Energy Physics under Grant No. DE-SC0010107.

docs/acknowledgements.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Funding Acknowledgements
2+
========================
3+
4+
This work was supported by the U.S. Department of Energy (DOE) Office of High Energy Physics under Grant No. DE-SC0010107.

docs/bib/talks.bib

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
% NB: entries with same author-title-year are not picked up:
2+
% https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/117
3+
4+
@unpublished{Stark_20251028,
5+
title = {{Efficient Statistical Modeling for Particle Physics Using Computational Graphs in Python}},
6+
author = {Giordon Stark},
7+
year = {2025},
8+
month = {Oct},
9+
day = {28},
10+
note = {PyHEP 2025 - "Python in HEP" Users Workshop (hybrid), CERN},
11+
url = {https://indico.cern.ch/event/1566263/contributions/6736094/},
12+
}
13+
14+
@unpublished{Smith_20251011,
15+
title = {{Efficient Statistical Modeling for Particle Physics Using Computational Graphs in Python}},
16+
author = {Allexindir Smith and Giordon Stark and Michael Hance},
17+
year = {2025},
18+
month = {Oct},
19+
day = {11},
20+
note = {2025 Annual Meeting of the APS Far West Section},
21+
url = {https://meetings.aps.org/Meeting/FWS25/Session/I02.1},
22+
}
23+
24+
@unpublished{Stark_20250716,
25+
title = {{Graph Me If You Can: Modern Python Meets HEP Statistical Models}},
26+
author = {Giordon Stark},
27+
year = {2025},
28+
month = {Jul},
29+
day = {16},
30+
note = {PyHEP.dev 2025 - "Python in HEP" Developer's Workshop},
31+
url = {https://indico.cern.ch/event/1515852/contributions/6580473/},
32+
}

docs/conf.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"sphinx_click.ext",
2727
"sphinx_issues",
2828
"sphinxcontrib.mermaid",
29+
"sphinxcontrib.bibtex",
2930
]
3031

3132
# GitHub repo
@@ -102,3 +103,18 @@
102103
copybutton_prompt_text = r">>> |\.\.\. |\$ "
103104
copybutton_prompt_is_regexp = True
104105
copybutton_here_doc_delimiter = "EOF"
106+
107+
# bibtex configuration
108+
bibtex_bibfiles = [
109+
"bib/talks.bib",
110+
]
111+
bibtex_default_style = "unsrt"
112+
113+
# Add any paths that contain custom static files (such as style sheets) here,
114+
# relative to this directory. They are copied after the builtin static files,
115+
# so a file named "default.css" will overwrite the builtin "default.css".
116+
html_static_path = ["_static"]
117+
118+
html_css_files = [
119+
"css/custom.css",
120+
]

docs/index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
defining_components
1010
api
1111

12+
.. toctree::
13+
:hidden:
14+
:maxdepth: 2
15+
:caption: Academics
16+
17+
acknowledgements
18+
abstracts
19+
talks
20+
1221
.. toctree::
1322
:hidden:
1423
:maxdepth: 2

docs/talks.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Talks and Presentations
2+
=======================
3+
4+
.. bibliography::
5+
:all:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ docs = [
6363
"intersphinx_registry>=0.2411.17",
6464
"sphinx-issues",
6565
"sphinxcontrib-mermaid",
66+
"sphinxcontrib-bibtex",
6667
]
6768

6869
[project.urls]

0 commit comments

Comments
 (0)