BUG: Manipulating the times property of Epochs results in wrong data after average if data was not loaded.
See original GitHub issueDescribe the bug
An Epochs
object has a times
property that can be modified. The effect of modifying this property is inconsistent, depending on whether the Epochs
object has preloaded data (i.e. load_data
) was called or not.
I created a test for this bug: https://github.com/thht/mne-python/blob/th/test_timeshift_master/mne/tests/test_timeshift.py
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Is a large number of epochs good or bad idea in CNN
In my CNN model, by using large number of epochs like 400 or above, the validations accuracy and some times test accuracy gets...
Read more >mne.Epochs — MNE 1.2.2 documentation - MNE-Python
If 0 or 1, the data channels (MEG and EEG) will be detrended when loaded. 0 is a constant (DC) detrend, 1 is...
Read more >Why Do I Get Different Results Each Time in Machine Learning?
Perhaps your model is making different predictions each time it is trained, even when it is trained on the same data set each...
Read more >Options for training deep learning neural network - MathWorks
If you specify validation data in trainingOptions , then the figure shows validation ... The figure marks each training Epoch using a shaded...
Read more >d. Indep. Comp. Analysis - EEGLAB Wiki
Load the sample EEGLAB dataset; Run ICA; Which ICA Algorithm? ... artifact removal before ICA; Applying ICA to data epochs instead of continuous...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s do that for now and if we need it for
preload=False
we can always make it work laterI would say it’s fine to make it work only for
preload=True