-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Cleaner epochs processing and delayed tests #2441
Conversation
5fa163f
to
e11f37a
Compare
Ready for review/merge from my end. |
looks clean and a good step forward the simplification of the Epochs class. @Eric89GXL did you run the test with interactive proj to see if it still behaves fine? |
You mean the example |
np.array(epochs.ch_names)[picks_data]) | ||
assert_allclose(evoked.times, epochs.times) | ||
assert_allclose(evoked.data, epochs_data, | ||
rtol=1e-5, atol=1e-15) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this test would fail in master? how long does it take to run? is it relevant to use less events or it's already fast enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, fails in master
. About 4 sec on my machine, but I might be able to make it faster. I'll try tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@agramfort done |
MRG: Cleaner epochs processing and delayed tests
thanks @Eric89GXL ! |
Closes #2440.