Skip to content

Commit

Permalink
Add nopython (#1319)
Browse files Browse the repository at this point in the history
* Add nopython

* Can we drop wfsim, maybe yes

* Remove numba decorator

The decorator cannot do anything.

* Remove numba import

---------

Co-authored-by: Dacheng Xu <dx2227@columbia.edu>
  • Loading branch information
WenzDaniel and dachengx authored Jan 16, 2024
1 parent c6fe7ef commit 7a9ba2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions straxen/plugins/led_cal/led_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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."""
Expand Down

0 comments on commit 7a9ba2e

Please sign in to comment.