Fix: invalid value in divide#49
Conversation
|
I just tested it, and I am not getting the same error message anymore. But if I do not exclude the bad channels, the issue still persists (which is expected). I am not getting an error message stating that there are flat channels in the MEG data in that case though. |
|
So if I understand correctly, you don't get |
|
The |
|
@yaylim we can also check if the diagonal of the covariance matrix contain any zeros, and accordingly raise error just the way @christianbrodbeck raises the error in his commit. That should address the problem and notify the user possible changes that they have to make. |
Should prevent the
RuntimeWarningdiscussed in. @yaylim let me know if it actually does.Closes #48