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

Merge branch 'dev-aberti' into 'master'

Adapt hillas calculation script to MAGIC reader v0.2.0

Closes #8

See merge request ievo/icrr-mpp-pipe!4
parents 8de06362 0ab3251a
......@@ -17,7 +17,7 @@ import traitlets
import ctapipe
from ctapipe_io_magic import MAGICEventSource, MAGICEventSourceMC
from ctapipe_io_magic import MAGICEventSource
from import HDF5TableWriter
from ctapipe.core.container import Container, Field
......@@ -297,7 +297,7 @@ def process_dataset_mc(input_mask, output_name, image_cleaning_settings):
print(f"-- Working on {file_name:s} --")
# Event source
source = MAGICEventSourceMC(input_url=input_file)
source = MAGICEventSource(input_url=input_file)
# Looping over the events
for event in source:
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