Browse Source

Add HIGH2023 season to script

compton 2 years ago
parent
commit
48cb2d32fa
1 changed files with 4 additions and 2 deletions
  1. 4 2
      compton_combiner.py

+ 4 - 2
compton_combiner.py

@@ -20,8 +20,8 @@ import pandas as pd
 from tqdm import tqdm
 from tqdm import tqdm
 
 
 SEASONS = {
 SEASONS = {
-    'name': ['RHO2013', 'BRK2013/16', 'HIGH2017', 'RHO2018', 'HIGH2019', 'LOW2020', 'HIGH2020', 'HIGH2021', 'NNBAR2021'],
-    'start_run': [18809, 32076, 36872, 48938, 70014, 85224, 89973, 98116, 107342, None],
+    'name': ['RHO2013', 'BRK2013/16', 'HIGH2017', 'RHO2018', 'HIGH2019', 'LOW2020', 'HIGH2020', 'HIGH2021', 'NNBAR2021', 'HIGH2023'],
+    'start_run': [18809, 32076, 36872, 48938, 70014, 85224, 89973, 98116, 107342, 131913, None],
 }
 }
 
 
 class RunsDBHandler():
 class RunsDBHandler():
@@ -197,6 +197,8 @@ class Likelihood():
         self.means = means
         self.means = means
         self.sigmas = sigmas
         self.sigmas = sigmas
         self.weights = weights/weights.mean()
         self.weights = weights/weights.mean()
+        # w_norm = (weights**2).sum()/(weights.sum())
+        # self.weights = weights/w_norm
         
         
     def __call__(self, mean: float, sigma: float):
     def __call__(self, mean: float, sigma: float):
         """
         """