PSPicker

PSPicker, a matlab tool for automatic phase picking and event location

View the Project on GitHub ChrisBail/PSPicker

function made to look for indice of the closest zeros in a trace around a
focus index

Input:
data: data array
index_focus: index to look around

Output:
index_output: array of index (should be of size 1*2 if oscillator)