Skip to main content
Run any Skill in Manus
with one click

pylhe

Stars3
Forks3
UpdatedJune 19, 2026 at 21:19

Use when reading or writing Les Houches Event (LHE) files in Python: reading parton-level events from MadGraph, Powheg, Sherpa, Pythia, or Whizard generators, iterating over initial- and final-state parton four-vectors, accessing event weights and scale/PDF reweighting blocks, counting events efficiently, writing modified LHE files back to disk, visualising event topologies with graphviz, or converting events to awkward arrays for vectorized analysis. Also use when the user mentions `LHEFile`, `LHEEvent`, `LHEParticle`, or parsing `.lhe` / `.lhe.gz` files.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly