{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/2345","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2345/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2345/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2345/events","html_url":"https://github.com/mne-tools/mne-python/issues/2345","id":96932269,"number":2345,"title":"Add event_id to read_epochs or selectively read","user":{"login":"teonlamont","id":1578674,"avatar_url":"https://avatars.githubusercontent.com/u/1578674?v=3","gravatar_id":"","url":"https://api.github.com/users/teonlamont","html_url":"https://github.com/teonlamont","followers_url":"https://api.github.com/users/teonlamont/followers","following_url":"https://api.github.com/users/teonlamont/following{/other_user}","gists_url":"https://api.github.com/users/teonlamont/gists{/gist_id}","starred_url":"https://api.github.com/users/teonlamont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teonlamont/subscriptions","organizations_url":"https://api.github.com/users/teonlamont/orgs","repos_url":"https://api.github.com/users/teonlamont/repos","events_url":"https://api.github.com/users/teonlamont/events{/privacy}","received_events_url":"https://api.github.com/users/teonlamont/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mne-tools/mne-python/labels/ENH","name":"ENH","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T00:18:52Z","updated_at":"2015-07-24T00:23:49Z","closed_at":null,"body":"If you only want to load a subset of your epochs from disk, suppplying an event_id could save on memory. currently, it loads all the epochs, and then you can do a selection. for long experiments, and large numbers of epochs, this is not idea. the event id would find the indices in the events and from there, it can index and load just those epochs. \r\n\r\none thing that I am not certain of is whether all the epochs would still be temporarily stored in memory. if that's the case, is there any way to read only select epochs?\r\n\r\ncc: @Eric89GXL "},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/124275960","html_url":"https://github.com/mne-tools/mne-python/issues/2345#issuecomment-124275960","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2345","id":124275960,"user":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T00:23:49Z","updated_at":"2015-07-24T00:23:49Z","body":"This would be solved by the more general solution of adding general\non-access reads, so that's my preferred solution. I might be able to do it\nnext week.\n"}}