From 3267b7cc6557dd474817c75fcaba944b845e552e Mon Sep 17 00:00:00 2001 From: gpirola <gpirola@mpp.mpg.de> Date: Sun, 12 Dec 2021 00:48:31 +0100 Subject: [PATCH] Changed after the modification on event_processing.py to allow the use of one single RF for the energy estimation and the setting of the weight on the training sample to "none" --- lst1_magic/lst1_magic_dl1_to_dl2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lst1_magic/lst1_magic_dl1_to_dl2.py b/lst1_magic/lst1_magic_dl1_to_dl2.py index 4afaabd..569ce30 100755 --- a/lst1_magic/lst1_magic_dl1_to_dl2.py +++ b/lst1_magic/lst1_magic_dl1_to_dl2.py @@ -10,6 +10,8 @@ import argparse import pandas as pd from astropy import units as u from astropy.time import Time +import sys +sys.path.append('/home/gpirola/ctasoft/magic-cta-pipe/') from event_processing import EnergyEstimatorPandas, DirectionEstimatorPandas, EventClassifierPandas from utils import transform_to_radec -- GitLab