Rearranged changes accidently got lost by former commit.

This commit is contained in:
Ludger Küperkoch 2017-08-15 17:01:27 +02:00
parent fe8128a61a
commit cc25a8e6cf

View File

@ -476,7 +476,7 @@ def getsignalwin(t, t1, tsignal):
'''
# get signal window
isignal, = np.where((t <= min([t1 + tsignal, len(t)])) \
isignal, = np.where((t <= min([t1 + tsignal, t[-1]])) \
& (t >= t1))
if np.size(isignal) < 1:
print("getsignalwin: Empty array isignal, check signal window!")