Window
Window(
dims: tuple[str, …] ,
axes: tuple[int, …] ,
size: tuple[int, …] ,
stride: tuple[tuple[int, …], None] ,
ndim: int ,
)-> None
A window along some of a patch’s dimensions, in samples.
Parameters
| Parameter | Description |
|---|---|
| dims | The dimensions windowed, in the order the caller named them. |
| axes | The axis of each. |
| size | The window along each, in samples. |
| stride |
How far each window advances, in samples, or None if the caller gave no overlap, no step, and no default – which each function reads its own way. A stride longer than the window leaves a gap. |
| ndim |
How many dimensions the patch has, so the window can be spelled out for every axis. |
Methods
| Name | Description |
|---|---|
| full_size |
Return the window along every patch axis, fill where none was given.
|