1
$\begingroup$

Does nperseg=32, noverlap=16 mean the window length is 32mS with a shift of 16mS?

Refer here for more details

$\endgroup$
0
$\begingroup$

for this function:

  • nperseg will set the number of samples to output from your STFT.
  • noverlap will specify how many old samples you want to take to calculate your future STFT.

Let's say you want a stft of size 256 with an overlap of 50% you will set noverlap = 128. 128 samples will then be taken from the old segment that was used to calculate the previous STFT...

For more information about STFT and the interest of overlap I invite you to watch this discussion.

STFT: why overlapping the window?

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.