PSPicker

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

View the Project on GitHub ChrisBail/PSPicker

Function that calculate the positive gradient cumulative of f
if the gradient is positive we take the cumulative, if the gradient is
negative then, as long as the gradient is negative, the value is the one of
the last positive gradient. The output has then only positive gradients
__/
/
__
/
Input: ā€˜fā€™ matrix or array containing the data

Ouptut: ā€˜gā€™ cumulative output matrix