rectangular50
Generates a rectangular window of the given size with 50% overlap.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
segment_size
|
int
|
Size of the window to be created. |
required |
dtype
|
dtype
|
The desired datatype of the window |
float32
|
Returns:
| Type | Description |
|---|---|
Tuple[NDArray[Any], int]
|
A rectangular window with 50% overlap |
Source code in src/libsegmenter/windows/rectangular.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |