Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
km3io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
km3py
km3io
Commits
674fa95d
Verified
Commit
674fa95d
authored
2 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Fix RST errors
parent
edd52c8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#30899
passed
2 years ago
Stage: test
Stage: coverage
Stage: doc
Changes
1
Pipelines
61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+6
-4
6 additions, 4 deletions
README.rst
with
6 additions
and
4 deletions
README.rst
+
6
−
4
View file @
674fa95d
...
...
@@ -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
E
vents
""""""""""""""
Reading
online e
vents
""""""""""""""
"""""""
Now we use the ``OnlineReader`` to create our file object.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment