PyREx

pyrex.generation.FileGenerator.create_event

FileGenerator.create_event()

Generate a neutrino.

Pulls the next Event object from the file(s).

Returns
Event

Next neutrino Event object from the file(s).

Raises
StopIteration

If the end of the last file in the file list has been reached.

See also

pyrex.Event

Class for storing a tree of Particle objects representing an event.

pyrex.Particle

Class for storing particle attributes.

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation