openmc.read_collision_track_file

openmc.read_collision_track_file(filename)[source]

Read a collision track file (HDF5 or MCPL) and return its data.

Parameters:

filename (str or path-like) – Path to the collision track file to read. Must end with .h5 or .mcpl.

Returns:

Structured array containing collision track data.

Return type:

numpy.ndarray