This function extracts boxcar windows from an array. Such a boxcar is defined by a starting point and the size of the window along the first axis of the array (boxlength). Afterwards a customizable function is applied to each boxcar individually (Default: averaging).
Parameters: |
|
---|---|
Return type: | array (len(startpoints) x data.shape[1:]) |