Private
Public Access
1
0

added delta values to breakthrough email

This commit is contained in:
Sander Roosendaal
2017-07-03 20:49:54 +02:00
parent 5863b1a1f2
commit 4f832235f6
6 changed files with 181 additions and 141 deletions

View File

@@ -1,6 +1,6 @@
import math
import numpy as np
import pandas as pd
lbstoN = 4.44822
@@ -85,4 +85,11 @@ def isbreakthrough(delta,cpvalues,p0,p1,p2,p3,ratio):
res = np.sum(cpvalues>pwr)
return res>1
btdf = pd.DataFrame(
{
'delta':delta[cpvalues>pwr],
'cpvalues':cpvalues[cpvalues>pwr],
'pwr':pwr[cpvalues>pwr],
}
)
return res>1,btdf