Skip to content

Commit

Permalink
Track position reconstruction algorithm in EventPatternFit plugin (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx authored Jan 14, 2025
1 parent 0909068 commit 21b5e34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion straxen/plugins/events/event_pattern_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import straxen
import numpy as np
import numba
from straxen.numbafied_scipy import numba_gammaln, numba_betainc
from scipy.special import loggamma
from straxen.numbafied_scipy import numba_gammaln, numba_betainc
from straxen.plugins.defaults import DEFAULT_POSREC_ALGO

export, __all__ = strax.exporter()

Expand All @@ -16,6 +17,10 @@ class EventPatternFit(strax.Plugin):
provides = "event_pattern_fit"
__version__ = "0.1.3"

default_reconstruction_algorithm = straxen.URLConfig(
default=DEFAULT_POSREC_ALGO, help="default reconstruction algorithm that provides (x,y)"
)

# Getting S1 AFT maps
s1_aft_map = straxen.URLConfig(
default=(
Expand Down

0 comments on commit 21b5e34

Please sign in to comment.