PyREx

pyrex.io.EventIterator.get_particle_info

EventIterator.get_particle_info(attribute=None)

Get particle data for the event.

Returns all particle data or a specified attribute of the particle data.

Parameters
attributestr, optional

Attribute of the particle data to get.

Returns
list or ndarray

List of dictionaries with all particle data or array of the desired attributes for each particle of the event.

PyREx

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

Navigation