This commit is contained in:
Ramona 2018-11-12 18:20:55 +01:00
commit c3c95e8c98

View File

@ -1,7 +1,7 @@
import numpy as np
def zero_crossing(eod)
def zero_crossing(eod,time):
threshold = 0;
shift_eod = np.roll(eod, 1)
eod_times = time[(eod >= threshold) & (shift_eod < threshold)]