|
|
@@ -72,7 +72,7 @@ def linramp(start, end, wtarget, minsize): |
|
|
|
#print('lr', ndates) |
|
|
|
for x, i in enumerate(drange(start, end, minsize)): |
|
|
|
#print(repr((x, i))) |
|
|
|
yield (i, (x + 1) / ndates * wtarget) |
|
|
|
yield (i, x / ndates * wtarget) |
|
|
|
|
|
|
|
def distribute(s, e, prod, minsize): |
|
|
|
onehour = timedelta(hours=1) |
|
|
|