Private
Public Access
1
0

values in CP notification email

This commit is contained in:
Sander Roosendaal
2017-07-03 22:07:07 +02:00
parent 4f832235f6
commit cfd6c1da7a
5 changed files with 29 additions and 15 deletions

View File

@@ -77,7 +77,6 @@ def geo_distance(lat1,lon1,lat2,lon2):
def isbreakthrough(delta,cpvalues,p0,p1,p2,p3,ratio):
pwr = p0/(1+delta/p2)
pwr += p1/(1+delta/p3)
@@ -92,4 +91,8 @@ def isbreakthrough(delta,cpvalues,p0,p1,p2,p3,ratio):
'pwr':pwr[cpvalues>pwr],
}
)
btdf.sort_values('delta',axis=0,inplace=True)
return res>1,btdf