XENON1T / pax

The XENON1T raw data processor [deprecated]
BSD 3-Clause "New" or "Revised" License
16 stars 17 forks source link

Segregate hit smoothing #725

Closed JosephJHowlett closed 5 years ago

JosephJHowlett commented 5 years ago

712 included the addition of additional smoothing and splitting when find_intervals_above_threshold() is called in the hitfinder. This added some numpy functions, which necessitated the removal of the numba speed boosting. This function is also caused during the ZLE phase of fax, which has since slowed down significantly. Unfortunately, since the numba boosting couldn't work on the current function, I didn't see a fix besides duplicating a good amount of code 🤷‍♂️ . In this PR, the old version of the function is instead called in ZLE.py, restoring fax's speed.

feigaodm commented 5 years ago

I didn't see flake8 message:) will merge shortly