Skip to content
Snippets Groups Projects
Verified Commit 674fa95d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix RST errors

parent edd52c8f
No related branches found
No related tags found
No related merge requests found
Pipeline #30899 passed
......@@ -147,8 +147,8 @@ are simple ``namedtuple``-like objects:
100000
Reading events
""""""""""""""
Reading offline events
""""""""""""""""""""""
Events are at the top level of an offline file, so that each branch of an event
is directly accessible at the ``OfflineReader`` instance. The ``.keys()`` method
......@@ -180,6 +180,7 @@ Using <TAB> completion gives an overview of available data. Alternatively the at
can be used on event-branches and to see what is available for reading.
.. code-block:: python3
>>> f.tracks.fields
['id',
'pos_x',
......@@ -211,6 +212,7 @@ Read the documention of AwkwardArray to learn how to work with these structures
to retrieve the energy of the very first reconstructed track for the first three events is:
.. code-block:: python3
>>> f.events.tracks.E[:3, 0]
<Array [117, 4.4e+03, 8.37] type='3 * float64'>
......@@ -223,8 +225,8 @@ L0 timeslices is not working at the moment (but is in progress).
Let's have a look at some online data.
Reading Events
""""""""""""""
Reading online events
"""""""""""""""""""""
Now we use the ``OnlineReader`` to create our file object.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment