PatchWindow
PatchWindow(
patch: Any ,
dims: collections.abc.Mapping[str, Any] =
overlap: Any = None,
step: Any = None,
samples: bool = False,
blend_taper: Any = None,
analysis: Any = None,
ends: str = pad,
align: str = center,
fill: Any = None,
)-> None
A patch and a window over it; see Patch.window.
What it does returns a patch, so a chain goes on from the patch: patch.window(time=1).mean().abs().
Besides the methods written here, a patch operation called on it runs in each window and the windows are blended: patch.window(time=1).detrend("time"). See Windowed for which operations can.
Methods
| Name | Description |
|---|---|
| apply | Apply a function to the windows, and blend or stack what it returns. |
| max |
Return the maximum of each window; see reduce.
|
| mean |
Return the mean of each window; see reduce.
|
| median |
Return the median of each window; see reduce.
|
| min |
Return the minimum of each window; see reduce.
|
| reduce | Reduce each window to one value with a function. |
| std |
Return the standard deviation of each window; see reduce.
|
| sum |
Return the sum of each window; see reduce.
|