from dascore.utils.signal import get_window_nd
get_window_nd("hann", (8, 16)).shape(8, 16)
| function of dascore.utils.signal | source |
get_window_nd(
window: Any ,
size: tuple[int, …] ,
)-> ‘np.ndarray’
Return a window along every axis of a tile: the outer product of its edges.
| Parameter | Description |
|---|---|
| window |
The window; see get_window. One for every axis, or a list withone per axis. |
| size | The tile’s shape. |