{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/1757","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1757/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1757/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1757/events","html_url":"https://github.com/mne-tools/mne-python/issues/1757","id":55338895,"number":1757,"title":"Errors when importing EDF+ data","user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-23T22:02:39Z","updated_at":"2015-01-25T21:31:43Z","closed_at":null,"body":"I'm running into some strange behavior when importing EDF+ data. It seems like there's something going wrong with timing and sampling rate. For example, when I try to import my EDF+ file, I get:\r\n\r\n    RuntimeError: Channels contain differentsampling rates. Must set preload=True\r\n\r\nAnd trying to preload the data returns a memory error.\r\n\r\nI've used EDFBrowser to convert the data, and it displays fine in there. I've also confirmed that the data displays fine with EEGLab, and the sampling rate for all channels should be the same. I'm converting these over from Nihon Kohden format (using EDFBrowser).\r\n\r\nAny ideas on how I should try to troubleshoot this?"},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/71394685","html_url":"https://github.com/mne-tools/mne-python/issues/1757#issuecomment-71394685","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1757","id":71394685,"user":{"login":"agramfort","id":161052,"avatar_url":"https://avatars.githubusercontent.com/u/161052?v=3","gravatar_id":"","url":"https://api.github.com/users/agramfort","html_url":"https://github.com/agramfort","followers_url":"https://api.github.com/users/agramfort/followers","following_url":"https://api.github.com/users/agramfort/following{/other_user}","gists_url":"https://api.github.com/users/agramfort/gists{/gist_id}","starred_url":"https://api.github.com/users/agramfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agramfort/subscriptions","organizations_url":"https://api.github.com/users/agramfort/orgs","repos_url":"https://api.github.com/users/agramfort/repos","events_url":"https://api.github.com/users/agramfort/events{/privacy}","received_events_url":"https://api.github.com/users/agramfort/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T21:31:43Z","updated_at":"2015-01-25T21:31:43Z","body":"Share it via Dropbox \r\n\r\n> On 25 janv. 2015, at 22:27, Chris Holdgraf <notifications@github.com> wrote:\r\n> \r\n> Thanks for your thoughts - when I use preload=True on a subset of the data, then it loads fine. However, I think I found a reason that it kept raising a MemoryError.\r\n> \r\n> It didn't make sense to me that this was happening, because the file is only ~1GB in total, and this is on a cluster with ~64GB of ram. It is 2 hours of data sampled at 1000Hz with about 60 channels, so about 120,000 x 60, which isn't so bad.\r\n> \r\n> However, when I loaded in the shortened data, I noticed that it's got twice as much data as it should. I should be exporting a 10 second clip of data from EDFBrowser. However, when this gets loaded in, it looks like the object has 100 seconds in it, so everything is larger by a factor of 10. The sampling frequency looks correct, so I'm not sure what could be going wrong.\r\n> \r\n> I can send a copy of the signal if you like, where should I send it? (it's quite small, only ~65kb)\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> "}}