Skip to content

Commit

Permalink
Debug SPeaklets (#127)
Browse files Browse the repository at this point in the history
* inherit from straxen

* inheirt

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* put back version and gain_model_mc

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
FaroutYLq and pre-commit-ci[bot] authored Apr 23, 2024
1 parent 7e159ee commit d2b3afa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions saltax/plugins/peaklets.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class SPeaklets(straxen.Peaklets):
extension overlaps with any peaks or other hits.
"""

__version__ = "0.0.4"

gain_model_mc = straxen.URLConfig(
infer_type=False, help="PMT gain model. Specify as URL or explicit value"
)

def setup(self):
if self.peak_min_pmts > 2:
# Can fix by re-splitting,
Expand Down

0 comments on commit d2b3afa

Please sign in to comment.