legend-dataflow-scripts 0.1.7__tar.gz → 0.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {legend_dataflow_scripts-0.1.7/src/legend_dataflow_scripts.egg-info → legend_dataflow_scripts-0.1.8}/PKG-INFO +1 -1
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8/src/legend_dataflow_scripts.egg-info}/PKG-INFO +1 -1
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/_version.py +16 -3
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/dplms.py +3 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/hit/aoe.py +2 -2
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/hit/lq.py +2 -2
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/LICENSE +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/README.md +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/pyproject.toml +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/setup.cfg +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legend_dataflow_scripts.egg-info/SOURCES.txt +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legend_dataflow_scripts.egg-info/dependency_links.txt +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legend_dataflow_scripts.egg-info/entry_points.txt +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legend_dataflow_scripts.egg-info/not-zip-safe +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legend_dataflow_scripts.egg-info/requires.txt +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legend_dataflow_scripts.egg-info/top_level.txt +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/eopt.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/evtsel.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/nopt.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/pz.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/svm.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/dsp/svm_build.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/hit/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/hit/ecal.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/par/geds/hit/qc.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/tier/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/tier/dsp.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/tier/hit.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/alias_table.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/cfgtools.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/convert_np.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/log.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/plot_dict.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/utils/pulser_removal.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/workflow/__init__.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/workflow/execenv.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/workflow/filedb.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/workflow/pre_compile_catalog.py +0 -0
- {legend_dataflow_scripts-0.1.7 → legend_dataflow_scripts-0.1.8}/src/legenddataflowscripts/workflow/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: legend-dataflow-scripts
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: Python package for the processing scripts for LEGEND-200 data
|
|
5
5
|
Author-email: George Marshall <ggmarsh@uw.edu>, Luigi Pertoldi <gipert@pm.me>
|
|
6
6
|
Maintainer: The LEGEND Collaboration
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: legend-dataflow-scripts
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: Python package for the processing scripts for LEGEND-200 data
|
|
5
5
|
Author-email: George Marshall <ggmarsh@uw.edu>, Luigi Pertoldi <gipert@pm.me>
|
|
6
6
|
Maintainer: The LEGEND Collaboration
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
3
|
|
|
4
|
-
__all__ = [
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
5
12
|
|
|
6
13
|
TYPE_CHECKING = False
|
|
7
14
|
if TYPE_CHECKING:
|
|
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
|
|
|
9
16
|
from typing import Union
|
|
10
17
|
|
|
11
18
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
12
20
|
else:
|
|
13
21
|
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
14
23
|
|
|
15
24
|
version: str
|
|
16
25
|
__version__: str
|
|
17
26
|
__version_tuple__: VERSION_TUPLE
|
|
18
27
|
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
19
30
|
|
|
20
|
-
__version__ = version = '0.1.
|
|
21
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.8'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 8)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = 'g2c31549ca'
|
|
@@ -6,6 +6,7 @@ import time
|
|
|
6
6
|
from pathlib import Path
|
|
7
7
|
|
|
8
8
|
import numpy as np
|
|
9
|
+
import pygama.math.distributions as pmd # noqa: F401
|
|
9
10
|
from dbetto import TextDB
|
|
10
11
|
from dbetto.catalog import Props
|
|
11
12
|
from lgdo import Array, Table, lh5
|
|
@@ -94,6 +95,7 @@ def par_geds_dsp_dplms() -> None:
|
|
|
94
95
|
dsp_config,
|
|
95
96
|
db_dict,
|
|
96
97
|
dplms_dict,
|
|
98
|
+
fom_func=eval(dplms_dict.get("fom_func", "pmd.gauss_on_step")),
|
|
97
99
|
display=1,
|
|
98
100
|
)
|
|
99
101
|
if args.inplots:
|
|
@@ -108,6 +110,7 @@ def par_geds_dsp_dplms() -> None:
|
|
|
108
110
|
dsp_config,
|
|
109
111
|
db_dict,
|
|
110
112
|
dplms_dict,
|
|
113
|
+
fom_func=eval(dplms_dict.get("fom_func", "pmd.gauss_on_step")),
|
|
111
114
|
)
|
|
112
115
|
|
|
113
116
|
coeffs = out_dict["dplms"].pop("coefficients")
|
|
@@ -220,7 +220,7 @@ def par_geds_hit_aoe() -> None:
|
|
|
220
220
|
|
|
221
221
|
ecal_dict = Props.read_from(args.ecal_file)
|
|
222
222
|
cal_dict = ecal_dict["pars"]
|
|
223
|
-
eres_dict = ecal_dict["results"]
|
|
223
|
+
eres_dict = ecal_dict["results"]
|
|
224
224
|
|
|
225
225
|
with Path(args.eres_file).open("rb") as o:
|
|
226
226
|
object_dict = pkl.load(o)
|
|
@@ -315,7 +315,7 @@ def par_geds_hit_aoe() -> None:
|
|
|
315
315
|
Path(args.hit_pars).parent.mkdir(parents=True, exist_ok=True)
|
|
316
316
|
final_hit_dict = {
|
|
317
317
|
"pars": {"operations": cal_dict},
|
|
318
|
-
"results":
|
|
318
|
+
"results": results_dict,
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
final_hit_dict = convert_dict_np_to_float(final_hit_dict)
|
|
@@ -247,7 +247,7 @@ def par_geds_hit_lq() -> None:
|
|
|
247
247
|
|
|
248
248
|
ecal_dict = Props.read_from(args.ecal_file)
|
|
249
249
|
cal_dict = ecal_dict["pars"]["operations"]
|
|
250
|
-
eres_dict = ecal_dict["results"]
|
|
250
|
+
eres_dict = ecal_dict["results"]
|
|
251
251
|
|
|
252
252
|
if args.inplots:
|
|
253
253
|
with Path(args.inplots).open("rb") as r:
|
|
@@ -321,7 +321,7 @@ def par_geds_hit_lq() -> None:
|
|
|
321
321
|
final_hit_dict = convert_dict_np_to_float(
|
|
322
322
|
{
|
|
323
323
|
"pars": {"operations": cal_dict},
|
|
324
|
-
"results":
|
|
324
|
+
"results": results_dict,
|
|
325
325
|
}
|
|
326
326
|
)
|
|
327
327
|
Path(args.hit_pars).parent.mkdir(parents=True, exist_ok=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|