Skip to content

Commit

Permalink
do an absolute rde cal
Browse files Browse the repository at this point in the history
  • Loading branch information
tianluyuan committed Feb 28, 2024
1 parent 3edaf65 commit ff22bdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions snowflake/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ def update_dom_eff(frame, rde_map):
cal = frame['I3Calibration']
dom_cal = cal.dom_cal
for dom in rde_map:
# dom_cal[dom].relative_dom_eff = rde*(1+0.35*grp)
if dom in dom_cal:
dom_cal[dom].relative_dom_eff *= rde_map[dom].rde
dom_cal[dom].relative_dom_eff = rde_map[dom].rde*(1+0.35*rde_map[dom].grp)


def excluded_doms(frame, exclude_list, keep_partial=True):
Expand Down

0 comments on commit ff22bdc

Please sign in to comment.