Skip to content
DraconiticResearch
Search Sources API
186,625 studies31 sourcesUpdated 40 min ago
PreprintCC BY 4.0arXiv

pylhe: A Lightweight Python interface to Les Houches Event files

Abstract

Les Houches Event files are a standard format for Monte Carlo event generators in high-energy physics. pylhe is a lightweight pure-Python library for reading and writing LHE event data. It supports .lhe and compressed .lhe.gz files, implements the widely used LHE 3.0 features including multiple event weights and generator metadata, and also supports the recent HDF5-based LHEH5 format. By exposing events through a pythonic iterator and shared data structures, pylhe enables memory-efficient processing of large event samples without loading entire files into memory. The library also supports format conversion and integration with modern analysis workflows, including columnar analysis with Awkward Array and downstream machine-learning applications.

Versions

Related

  1. A Lightweight Python-based Monte Carlo Framework for Visualizing Energy-dependent Dose Calibrator Response: A Nuclear Medicine Education Tool
    Anil Kumar Pandey, Shanshila Rayamajhi, Jagrati Chaudhary +2
    Journal of Medical PhysicsPeer-reviewedCC BY-NC-SAFull textApplied physics & instrumentationDOAJ
  2. Les Houches lectures on Spinfoam Path Integrals
    Oleksandra Hrytseniak, Etera R. Livine, Valentine Maris
    HALPreprintCC BY-NC-ND 4.0Full textStatistical & nonlinear physicsHAL
  3. svPITE: A Python package for the state-vector-based probabilistic imaginary-time evolution algorithm
    Pascal Sievers, Satoshi Ejima
    SciPostPeer-reviewedCC BY 4.0General physicsSciPost
  4. Propaq: A Python package for Heisenberg Propagation
    Hrishikesh Belagali, Ryan LaRose
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
  5. ConteXtuAlity: an open source Python package for contextuality
    Kim Vallée
    arXivPreprintCC BY 4.0Full textQuantum physics & quantum informationarXiv
BibTeX
@misc{neuwirth2026pylhe,
  title = {{pylhe: A Lightweight Python interface to Les Houches Event files}},
  author = {Alexander Puck Neuwirth and Matthew Feickert and Lukas Heinrich and Eduardo Rodrigues},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2607.29352},
  eprint = {2607.29352},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.29352},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - pylhe: A Lightweight Python interface to Les Houches Event files
AU  - Alexander Puck Neuwirth
AU  - Matthew Feickert
AU  - Lukas Heinrich
AU  - Eduardo Rodrigues
PY  - 2026
DA  - 2026/10/06
PB  - arXiv
DO  - 10.48550/arxiv.2607.29352
UR  - https://arxiv.org/abs/2607.29352
AB  - Les Houches Event files are a standard format for Monte Carlo event generators in high-energy physics. pylhe is a lightweight pure-Python library for reading and writing LHE event data. It supports .lhe and compressed .lhe.gz files, implements the widely used LHE 3.0 features including multiple event weights and generator metadata, and also supports the recent HDF5-based LHEH5 format. By exposing events through a pythonic iterator and shared data structures, pylhe enables memory-efficient processing of large event samples without loading entire files into memory. The library also supports format conversion and integration with modern analysis workflows, including columnar analysis with Awkward Array and downstream machine-learning applications.
ER  -