values in CP notification email
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user