obspy.signal.util.stack

stack(data, stack_type='linear')[source]

Stack data by first axis.

Parameters:stack_type (str or tuple) Type of stack, one of the following: 'linear': average stack (default), ('pw', order): phase weighted stack of given order (see [Schimmel1997], order 0 corresponds to linear stack), ('root', order): root stack of given order (order 1 corresponds to linear stack).