Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ievgen Vovk
ctapipe_io_magic
Commits
55b1bebb
Commit
55b1bebb
authored
May 05, 2020
by
Moritz Huetten
Browse files
hack to read all events by pedestal event generator
parent
5684d93c
Pipeline
#74365
passed with stage
in 9 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ctapipe_io_magic/__init__.py
View file @
55b1bebb
...
...
@@ -1075,8 +1075,8 @@ class MarsRun:
pedestal_trigger_pattern
=
8
for
telescope
in
self
.
event_data
:
ped_triggers
=
np
.
where
(
self
.
event_data
[
telescope
][
'trigger_pattern'
]
==
pedestal_trigger_pattern
)
pedestal_ids
[
telescope
]
=
ped_triggers
[
0
]
ped_triggers
=
np
.
arange
(
len
(
self
.
event_data
[
telescope
][
'trigger_pattern'
]
)
)
pedestal_ids
[
telescope
]
=
ped_triggers
#
[0]
return
pedestal_ids
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment