I have a data set where I often get pairs of spikes that occur randomly but the pair is always separated within $n$ places of each other. I.e. the spacing between the pairs, in index, is always constant.
Is there a way, given some other condition to pick out the first spike (I use something like Select[IndexedData[[1;;,{1,2,3}]], #[[3]] > threshold &]
)to then remove the $n \pm1$ points after this peak?