Commit d41f432d authored by Alessio Berti's avatar Alessio Berti
Browse files

Add CameraReadout with some default values.

parent 88c09196
Pipeline #116507 failed with stage
in 7 seconds
......@@ -43,6 +43,7 @@ from ctapipe.instrument import (
SubarrayDescription,
OpticsDescription,
CameraDescription,
CameraReadout,
)
__all__ = ['MAGICEventSource']
......@@ -65,6 +66,12 @@ MAGIC_TEL_POSITIONS = {
# MAGIC telescope description
OPTICS = OpticsDescription.from_name('MAGIC')
MAGICCAM = CameraDescription.from_name("MAGICCam")
MAGICCAM.readout = CameraReadout(
camera_name='MAGICCam',
sampling_rate=u.Quantity(1.64, u.GHz),
reference_pulse_shape=np.array([]),
reference_pulse_sample_width=u.Quantity(0.5, u.ns)
)
GEOM = MAGICCAM.geometry
MAGIC_TEL_DESCRIPTION = TelescopeDescription(
name='MAGIC', tel_type='MAGIC', optics=OPTICS, camera=MAGICCAM)
......
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