Skip to content
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

FIX/DOC/ENH: inaccurate reconstruction of times from matlab files #49

Open
dengemann opened this issue Dec 21, 2016 · 1 comment
Open

Comments

@dengemann
Copy link
Member

dengemann commented Dec 21, 2016

Somethings is slightly off when reconstructing epochs.times from matfiles. The bounds and offsets are not correct. This gets extreme as strongly decimated files are read. One central issue here is that the preprocessed epochs were already decimated, potentially with a different method, e.g. linspace(min, max, n_samples). My suspicion is that either the sampling frequency reported in the matfiles is not correct or the times vectors. Some discussion on this took already place here:

#9 (comment)

#9 (comment)

#9 (comment)

The task is to figure out what needs to be fixed, the data descriptors -- on reading or MNE-Python .times reconstruction.

cc @Eric89GXL @jasmainak etc.

@larsoner
Copy link
Member

Does 1. / (times[1] - times[0]) == sfreq?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants