adding question how many windows to be displayed

This commit is contained in:
wendtalexander 2023-01-15 15:11:05 +01:00
parent 3ee30f96f0
commit 83dbd2feed

View File

@ -177,8 +177,9 @@ def main(datapath: str) -> None:
window_duration - (window_overlap + 2 * window_edge),
dtype=int
)
for start_index in window_starts:
# ask how many windows should be calulated
nwindows = int(input("How many windows should be calculated (integer number)? "))
for start_index in window_starts[:nwindows]:
# make t0 and dt
t0 = start_index / data.samplerate