Commit 949ab7d8 authored by Alessio Berti's avatar Alessio Berti
Browse files

Convert lists to arrays.

parent 3fdbea94
Pipeline #116563 failed with stage
in 7 seconds
......@@ -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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment