Open william-davies opened 3 years ago
Firstly, I refer to this article P.11, describing how to determine the window size. https://www.osapublishing.org/boe/fulltext.cfm?uri=boe-8-10-4480&id=372762
Secondly, note that this is a demo code - so parameters have to be chosen for each case. Looking into the code quickly, it seems like w = gausswin(lag) needs to be w = gausswin(2*lag +1) Please check the window size from the code if this works.
https://github.com/deepneuroscience/Rethinking-Eye-blink/blob/e4ad06008ac79735468ef7e2824cf906f4addcd7/rethinking_eyeblink/utils/blink_spectrogram.py#L11-L17
On page 6 of Cho 2021, it says that the sliding window size is 61 seconds:
However, in
blink_spectrogram
, the window size appears to be 30 seconds. I just wanted to check if I misunderstood something or if there is a reason the window sizes are slightly different?Thank you!