reboost 0.4.2__py3-none-any.whl → 0.4.3__py3-none-any.whl
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.
- reboost/_version.py +2 -2
- reboost/build_evt.py +1 -1
- reboost/build_glm.py +1 -1
- reboost/build_hit.py +1 -1
- reboost/build_tcm.py +1 -1
- reboost/utils.py +4 -4
- {reboost-0.4.2.dist-info → reboost-0.4.3.dist-info}/METADATA +1 -1
- {reboost-0.4.2.dist-info → reboost-0.4.3.dist-info}/RECORD +12 -12
- {reboost-0.4.2.dist-info → reboost-0.4.3.dist-info}/WHEEL +0 -0
- {reboost-0.4.2.dist-info → reboost-0.4.3.dist-info}/entry_points.txt +0 -0
- {reboost-0.4.2.dist-info → reboost-0.4.3.dist-info}/licenses/LICENSE +0 -0
- {reboost-0.4.2.dist-info → reboost-0.4.3.dist-info}/top_level.txt +0 -0
reboost/_version.py
CHANGED
reboost/build_evt.py
CHANGED
reboost/build_glm.py
CHANGED
|
@@ -280,7 +280,7 @@ def build_glm(
|
|
|
280
280
|
out_tab.add_field(field, Array(glm[field].to_numpy()))
|
|
281
281
|
|
|
282
282
|
# write the output file
|
|
283
|
-
mode = "
|
|
283
|
+
mode = "overwrite_file" if (vidx == 0 and idx == 0) else "append"
|
|
284
284
|
|
|
285
285
|
lh5_subgroup = lh5_table.replace("stp/", "")
|
|
286
286
|
|
reboost/build_hit.py
CHANGED
reboost/build_tcm.py
CHANGED
reboost/utils.py
CHANGED
|
@@ -27,12 +27,12 @@ def get_wo_mode(
|
|
|
27
27
|
good_idx = all(i == 0 for i in indices)
|
|
28
28
|
|
|
29
29
|
if good_idx and new_hit_file:
|
|
30
|
-
return "
|
|
30
|
+
return "overwrite_file" if overwrite else "write_safe"
|
|
31
31
|
|
|
32
32
|
# if we have a detector not the first and chunk 0 append column
|
|
33
33
|
if ((in_det > 0) or (out_det > 0)) & (chunk == 0):
|
|
34
|
-
return "
|
|
35
|
-
return "
|
|
34
|
+
return "append_column"
|
|
35
|
+
return "append"
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def get_file_dict(
|
|
@@ -338,7 +338,7 @@ def write_lh5(
|
|
|
338
338
|
if time_dict is not None:
|
|
339
339
|
start_time = time.time()
|
|
340
340
|
|
|
341
|
-
if wo_mode
|
|
341
|
+
if wo_mode not in ("a", "append"):
|
|
342
342
|
lh5.write(
|
|
343
343
|
Struct({out_detector: hit_table}),
|
|
344
344
|
out_field,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reboost
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: New LEGEND Monte-Carlo simulation post-processing
|
|
5
5
|
Author-email: Manuel Huber <info@manuelhu.de>, Toby Dixon <toby.dixon.23@ucl.ac.uk>, Luigi Pertoldi <gipert@pm.me>
|
|
6
6
|
Maintainer: The LEGEND Collaboration
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
reboost/__init__.py,sha256=2Lc9Idexf1S3IQvHQS1LPD-SCud7Mnmpr2dJ6U-ThvU,303
|
|
2
|
-
reboost/_version.py,sha256=
|
|
3
|
-
reboost/build_evt.py,sha256=
|
|
4
|
-
reboost/build_glm.py,sha256
|
|
5
|
-
reboost/build_hit.py,sha256=
|
|
6
|
-
reboost/build_tcm.py,sha256=
|
|
2
|
+
reboost/_version.py,sha256=zJwW9_MgFPmVYNh3YnSsdJ4y2EqGvu1bzYeID1Rrd0A,511
|
|
3
|
+
reboost/build_evt.py,sha256=NuI5HRaA4vQApZWPTzfNeUxUhzLfaubLKr6ZT7KWCEI,4809
|
|
4
|
+
reboost/build_glm.py,sha256=-MbPTaUdXlmBml1yzvDB1ddfCh2Vjtvblo3GWo_KzrY,9537
|
|
5
|
+
reboost/build_hit.py,sha256=e0aSNIlbYIsO43jVXTEIJIMHAOGEnkHieWS1XGgpOkc,15247
|
|
6
|
+
reboost/build_tcm.py,sha256=jeuyyVpXYMmvJp2lUKewhbU2diV-_d5fFlkA3Zv2JFU,2956
|
|
7
7
|
reboost/cli.py,sha256=YZvCaxkU0VA_xMAeyw1PN_x17RUkl8uzv19nkNkz3kE,6509
|
|
8
8
|
reboost/core.py,sha256=B577b5KzAYpGI7c4eCxIRKgt9tq6hwVr2-DtYTml1e8,12826
|
|
9
9
|
reboost/iterator.py,sha256=YFsNjC2Onsyhvkogbs79eD8iqstCdCAfFEaEOMr_ujg,6810
|
|
10
10
|
reboost/log_utils.py,sha256=VqS_9OC5NeNU3jcowVOBB0NJ6ssYvNWnirEY-JVduEA,766
|
|
11
11
|
reboost/profile.py,sha256=EOTmjmS8Rm_nYgBWNh6Rntl2XDsxdyed7yEdWtsZEeg,2598
|
|
12
12
|
reboost/units.py,sha256=3EH8XlpbsObdu5vLgxhm1600L6UNYD5jng4SjJT_1QE,2202
|
|
13
|
-
reboost/utils.py,sha256=
|
|
13
|
+
reboost/utils.py,sha256=MjnZNXP80gD3DGFfNEdT-WyiTsA1GRMElYsoW5hX4v8,9705
|
|
14
14
|
reboost/hpge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
reboost/hpge/psd.py,sha256=jAUAoQ_PMz76wyA1NXYHNKtOwoCnRT3My8_LCFrKi-U,13860
|
|
16
16
|
reboost/hpge/surface.py,sha256=lbWcFnFFWKxtFKs755GyM9US_IfyxaoM6MpOIZgIMM0,7478
|
|
@@ -30,9 +30,9 @@ reboost/shape/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
30
30
|
reboost/shape/cluster.py,sha256=RIvBlhHzp88aaUZGofp5SD9bimnoiqIOddhQ84jiwoM,8135
|
|
31
31
|
reboost/shape/group.py,sha256=_z2qCOret3E-kj-nrp1-J5j2lEwQpgfYdQp2pgpDHR8,4449
|
|
32
32
|
reboost/shape/reduction.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
|
-
reboost-0.4.
|
|
34
|
-
reboost-0.4.
|
|
35
|
-
reboost-0.4.
|
|
36
|
-
reboost-0.4.
|
|
37
|
-
reboost-0.4.
|
|
38
|
-
reboost-0.4.
|
|
33
|
+
reboost-0.4.3.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
34
|
+
reboost-0.4.3.dist-info/METADATA,sha256=KeW1VoCUjCxRuz8nRD5gnkYF-2Z4H53x87V586TmUwM,44251
|
|
35
|
+
reboost-0.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
36
|
+
reboost-0.4.3.dist-info/entry_points.txt,sha256=DxhD6BidSWNot9BrejHJjQ7RRLmrMaBIl52T75oWTwM,93
|
|
37
|
+
reboost-0.4.3.dist-info/top_level.txt,sha256=q-IBsDepaY_AbzbRmQoW8EZrITXRVawVnNrB-_zyXZs,8
|
|
38
|
+
reboost-0.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|