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
949ab7d8
Commit
949ab7d8
authored
Dec 03, 2021
by
Alessio Berti
Browse files
Convert lists to arrays.
parent
3fdbea94
Pipeline
#116563
failed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ctapipe_io_magic/__init__.py
View file @
949ab7d8
...
...
@@ -1953,8 +1953,8 @@ class MarsCalibratedRun:
arrival_times
=
self
.
event_data
[
telescope
][
'arrival_time'
][
file_num
][
id_in_file
][:
self
.
n_camera_pixels
]
event_data
=
dict
()
event_data
[
'image'
]
=
photon_content
event_data
[
'pulse_time'
]
=
arrival_times
event_data
[
'image'
]
=
np
.
array
(
photon_content
)
event_data
[
'pulse_time'
]
=
np
.
array
(
arrival_times
)
event_data
[
'pointing_az'
]
=
self
.
event_data
[
telescope
][
'pointing_az'
][
event_id
]
event_data
[
'pointing_zd'
]
=
self
.
event_data
[
telescope
][
'pointing_zd'
][
event_id
]
event_data
[
'pointing_ra'
]
=
self
.
event_data
[
telescope
][
'pointing_ra'
][
event_id
]
...
...
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