Extract "in" from to from+window_len
[sim, out] = ld_vector_extract(sim, events, in, from, window_len, vecsize)
in *+(vecsize) - vector signal
from * - index signal, (indexing starts at 1)
out *+(window_len) - output signal