You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type is int64 instead of double. This can cause all kinds of problems (I was trying to use the number of trials to calculate a ratio, and it was always returning the wrong value for example). This might be the case as well for other fields.
The text was updated successfully, but these errors were encountered:
It could be argued that this is an issue with MATLAB. The number of trials is an integer number. Do integers need to be converted to floats when performing division etc.?
As a heavy (mostly ex-)MATLAB user, I would say it's quite unexpected that anything numeric is not double in MATLAB. In this sense I am with @arnodelorme (and more than willing to defer to his expertise here!) that we should cast these to double. I'll reopen this in eeglabio, though, which is where this change would need to happen (cc @jackz314 )
Reading a file exported by MNE on MATLAB
The type is int64 instead of double. This can cause all kinds of problems (I was trying to use the number of trials to calculate a ratio, and it was always returning the wrong value for example). This might be the case as well for other fields.
The text was updated successfully, but these errors were encountered: