I have changed _blink_points() in order not to return None if the blink is too long (which means no more blinks). Now, if the blink is too long, it searches for blinks in the remaining trace (vtrace[iend:]) and if it finds one, it corrects the indexes by adding the iend.
I have changed
_blink_points()
in order not to returnNone
if the blink is too long (which means no more blinks). Now, if the blink is too long, it searches for blinks in the remaining trace (vtrace[iend:]
) and if it finds one, it corrects the indexes by adding theiend
.