Skip to content

Commit

Permalink
processed: pAUC integration
Browse files Browse the repository at this point in the history
  • Loading branch information
stewartboogert committed Dec 1, 2024
1 parent 1638cae commit 54c94e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyWitness/DataProcessed.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ def calculatePAUC(self, xmax = 1.0) :
self.xForIntegration = _np.array(xForIntegration)
self.yForIntegration = _np.array(yForIntegration)

self.pAUC = _integrate.simps(self.yForIntegration,self.xForIntegration)
# self.pAUC = _integrate.simps(self.yForIntegration,self.xForIntegration, even="avg")
self.pAUC = _integrate.trapezoid(self.yForIntegration, self.xForIntegration)

global bPAUCNanWarning

Expand Down

0 comments on commit 54c94e4

Please sign in to comment.