- showerpipe.lhe.event_iter(source: Path | str | bytes) Iterator[LheEvent][source]
Iterates over a LHE file, yielding
LheEventobjects, providing attribute access to numpy arrays, containing particle data.New in version 0.4.0.
Notes
This is a wrapper around
event_iter_text(), but provides only a subset of the fields available as attributes. For more complete data you may wish to useevent_iter_text()and parse the strings yourself.
Last update:
Jun 27, 2025