From 7a9ba2efe65bdbe0484b650c3a91d98c77e6a9ec Mon Sep 17 00:00:00 2001 From: Daniel Wenz <43881800+WenzDaniel@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:10:08 +0100 Subject: [PATCH] Add nopython (#1319) * Add nopython * Can we drop wfsim, maybe yes * Remove numba decorator The decorator cannot do anything. * Remove numba import --------- Co-authored-by: Dacheng Xu --- straxen/plugins/led_cal/led_calibration.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/straxen/plugins/led_cal/led_calibration.py b/straxen/plugins/led_cal/led_calibration.py index 36c22578a..8da77253c 100644 --- a/straxen/plugins/led_cal/led_calibration.py +++ b/straxen/plugins/led_cal/led_calibration.py @@ -7,7 +7,6 @@ from immutabledict import immutabledict import strax import straxen -import numba import numpy as np # This makes sure shorthands for only the necessary functions @@ -228,7 +227,6 @@ def pulse_dtype(): return pulse_dtype @staticmethod - @numba.jit def calc_delta_time(ext_timings_nv_delta_time, pulses, hitlets_nv, nv_pmt_start, nv_pmt_stop): """Numpy access with fancy index returns copy, not view This for-loop is required to substitute in one by one."""