Skip to content

Commit

Permalink
update for newest QETpy >= 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
serfass committed Aug 30, 2024
1 parent 9e89c18 commit 450a34f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions detprocess/process/processing_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ def instantiate_OF_base(self, processing_config, channel=None):
if nb_channels == 1:
self._OF_base_objs[key]['OF'].calc_phi(chan)
else:
self._OF_base_objs[key]['OF'].calc_phi_mat(chan)
self._OF_base_objs[key]['OF'].calc_weight_mat(chan)
self._OF_base_objs[key]['OF'].calc_phi_matrix(chan)
self._OF_base_objs[key]['OF'].calc_weight_matrix(chan)


# remove duplicated
Expand Down Expand Up @@ -685,7 +685,6 @@ def update_signal_OF(self, weights=None):
self._OF_base_objs[key_tuple]['OF'].update_signal(
chan, trace,
calc_signal_filt=False,
calc_q_vector= False,
calc_signal_filt_td=False,
calc_chisq_amp=False,
)
Expand All @@ -704,8 +703,8 @@ def update_signal_OF(self, weights=None):
self._OF_base_objs[key_tuple]['OF'].calc_signal_filt(chan)
self._OF_base_objs[key_tuple]['OF'].calc_chisq_amp(chan)
else:
self._OF_base_objs[key_tuple]['OF'].calc_signal_filt_mat(chan)
self._OF_base_objs[key_tuple]['OF'].calc_signal_filt_mat_td(chan)
self._OF_base_objs[key_tuple]['OF'].calc_signal_filt_matrix(chan)
self._OF_base_objs[key_tuple]['OF'].calc_signal_filt_matrix_td(chan)


def get_event_admin(self, return_all=False):
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run(self):

setup(
name="detprocess",
version="0.4.5",
version="0.4.6",
description="Detector Data Processing Package",
long_description=long_description,
long_description_content_type='text/markdown',
Expand All @@ -54,9 +54,9 @@ def run(self):
'scipy',
'matplotlib',
'pyyaml',
'qetpy>=1.7.1',
'qetpy>=1.7.2',
'pandas',
'pytesdaq>=0.4.0',
'pytesdaq>=0.4.1',
'scikit-image',
'iminuit>=2',
'seaborn',
Expand Down

0 comments on commit 450a34f

Please sign in to comment.