-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] Too large windows #304
Conversation
Codecov Report
@@ Coverage Diff @@
## master #304 +/- ##
==========================================
+ Coverage 80.19% 80.22% +0.02%
==========================================
Files 49 49
Lines 2944 2948 +4
==========================================
+ Hits 2361 2365 +4
Misses 583 583 |
braindecode/braindecode/preprocessing/windowers.py Lines 182 to 185 in 150294c
|
braindecode/braindecode/preprocessing/windowers.py Lines 487 to 490 in 150294c
|
@dcwil could you have another look at these checks? |
Should this block should also be checking if the user wants to extract a single window per trial, ie |
@dcwil Yes, correct. The warning only has to be raised if user attempts to extract one window per trial (in this case recording) and they are of different lengths. (Stride should not matter at all.) Usually, if window size is specified, or if trials are of the same length, all windows will always be of same length and therefore batch-able. For the other check I don't know. I just saw that the error message does not match the check. But since the check is in an if else, I don't know whether something else has to be changed. |
9f9be74
to
97b7687
Compare
Great that we caught this bug |
No description provided.