Skip to content
GitLab
Menu
Projects
Groups
Snippets
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
6c0843fa
Commit
6c0843fa
authored
Nov 23, 2021
by
Alessio Berti
Browse files
Clear DL1 container.
parent
e5b3484e
Pipeline
#115763
failed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ctapipe_io_magic/__init__.py
View file @
6c0843fa
...
...
@@ -400,6 +400,9 @@ class MAGICEventSource(EventSource):
# Setting up the DL0 container
data
.
dl0
.
tel
.
clear
()
# Setting up the DL1 container
data
.
dl1
.
tel
.
clear
()
pointing
=
PointingContainer
()
# Filling the DL1 container with the event data
for
tel_i
,
tel_id
in
enumerate
(
tels_in_file
):
...
...
@@ -602,6 +605,9 @@ class MAGICEventSource(EventSource):
data
.
dl0
.
tel
.
clear
()
data
.
dl0
.
tel
[
tel_i
+
1
].
trigger_type
=
self
.
current_run
[
'data'
].
event_data
[
telescope
][
'trigger_pattern'
][
event_order_number
]
# Setting up the DL1 container
data
.
dl1
.
tel
.
clear
()
# Creating the telescope pointing container
pointing
=
PointingContainer
()
pointing_tel
=
TelescopePointingContainer
()
...
...
Write
Preview
Supports
Markdown
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