Skip to content

Commit 7d6977b

Browse files
Keep time float64 to avoid cutting events as if they are outside GRL
1 parent cf18586 commit 7d6977b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

skyllh/analyses/i3/publicdata_ps/time_dependent_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ def create_analysis( # noqa: C901
907907
dtc_except_fields = None
908908
if compress_data is True:
909909
dtc_dict = {np.dtype(np.float64): np.dtype(np.float32)}
910-
dtc_except_fields = ['mcweight']
910+
dtc_except_fields = ['mcweight', 'time']
911911

912912
# Define the flux model.
913913
fluxmodel = SteadyPointlikeFFM(

skyllh/analyses/i3/publicdata_ps/time_integrated_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def create_analysis(
266266
dtc_except_fields = None
267267
if compress_data is True:
268268
dtc_dict = {np.dtype(np.float64): np.dtype(np.float32)}
269-
dtc_except_fields = ['mcweight']
269+
dtc_except_fields = ['mcweight', 'time']
270270

271271
# Define the flux model.
272272
fluxmodel = SteadyPointlikeFFM(

skyllh/analyses/i3/publicdata_ps/time_integrated_ps_function_energy_spectrum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def create_analysis(
334334
dtc_except_fields = None
335335
if compress_data is True:
336336
dtc_dict = {np.dtype(np.float64): np.dtype(np.float32)}
337-
dtc_except_fields = ['mcweight']
337+
dtc_except_fields = ['mcweight', 'time']
338338

339339
# Define the flux model.
340340

0 commit comments

Comments
 (0)