Skip to content

Commit

Permalink
undo second order derivate in alphas covmat computation
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Feb 14, 2024
1 parent 23ee5d5 commit c7cd3e6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions validphys2/src/validphys/theorycovariance/construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ def covmat_alphas(name1, name2, deltas1, deltas2):
alpha_s shifts. This is equivalent to 3 point factorisation
scale variation because it's fully correlated across all
processes.
NOTE: an edit has been made to redefine the covmat to account for
second order derivatives of the theory prediction wrt alpha_s. (see
section 1.1 of 2105.05114)
"""
s = 0.5 * np.outer(deltas1[0] - deltas1[1], deltas2[0] - deltas2[1])
s = 0.5 * (np.outer(deltas1[0], deltas2[0]) + np.outer(deltas1[1], deltas2[1]))
# NOTE: an edit has been made to redefine the covmat to account for
# second order derivatives of the theory prediction wrt alpha_s. (see
# section 1.1 of 2105.05114)
# s = 0.5 * np.outer(deltas1[0] - deltas1[1], deltas2[0] - deltas2[1])
return s

def covmat_3fpt(name1, name2, deltas1, deltas2):
Expand Down

0 comments on commit c7cd3e6

Please sign in to comment.