Commit 98078859 authored by Moritz Huetten's avatar Moritz Huetten
Browse files

first beta version reading hot pixel info

parent 5e473763
Pipeline #69517 passed with stage
in 8 minutes and 4 seconds
......@@ -272,9 +272,11 @@ class MAGICEventSource(EventSource):
pedestal_info.charge_std.append(monitoring_data['M{:d}'.format(tel_i + 1)]['PedestalFromExtractorRndm']['Rms'])
badpixel_info.hardware_failing_pixels = monitoring_data['M{:d}'.format(tel_i + 1)]['badpixelinfo']
monitoring_camera.pedestal = pedestal_info
monitoring_camera.pixel_status = badpixel_info
data.mon.tels_with_data = {1, 2}
data.mon.tel[tel_i + 1] = monitoring_camera
# Loop over the events
......@@ -588,7 +590,8 @@ class MarsRun:
files satisfying run_file_mask will be used. Defaults to None.
"""
self.n_camera_pixels = 1039
geom = CameraGeometry.from_name('MAGICCam')
self.n_camera_pixels = geom.n_pixels
self.run_file_mask = run_file_mask
......@@ -1369,5 +1372,3 @@ class MarsRun:
return event_data
Supports Markdown
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