Private
Public Access
1
0

fixed c2 import bug

This commit is contained in:
Sander Roosendaal
2019-01-23 13:43:32 +01:00
parent eeda6389ba
commit c7595b7cb0
3 changed files with 8 additions and 4 deletions

View File

@@ -300,10 +300,14 @@ def summaryfromsplitdata(splitdata,data,filename,sep='|'):
sa += iarr
results += resarr
if itime != 0:
ivelo = idist/itime
ipower = 2.8*ivelo**(3.0)
else:
ivelo = 0
ipower = 0
ivelo = idist/itime
ipower = 2.8*ivelo**(3.0)
sums += interval_string(intervalnr,idist,itime,ipace,ispm,
iavghr,imaxhr,0,ipower,separator=sep)
intervalnr+=1