{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/2526","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2526/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2526/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2526/events","html_url":"https://github.com/mne-tools/mne-python/pull/2526","id":110976153,"number":2526,"title":"[MRG] Automatic peak finder","user":{"login":"jaeilepp","id":3456414,"avatar_url":"https://avatars.githubusercontent.com/u/3456414?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeilepp","html_url":"https://github.com/jaeilepp","followers_url":"https://api.github.com/users/jaeilepp/followers","following_url":"https://api.github.com/users/jaeilepp/following{/other_user}","gists_url":"https://api.github.com/users/jaeilepp/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeilepp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeilepp/subscriptions","organizations_url":"https://api.github.com/users/jaeilepp/orgs","repos_url":"https://api.github.com/users/jaeilepp/repos","events_url":"https://api.github.com/users/jaeilepp/events{/privacy}","received_events_url":"https://api.github.com/users/jaeilepp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-12T13:32:55Z","updated_at":"2015-10-12T14:31:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/2526","html_url":"https://github.com/mne-tools/mne-python/pull/2526","diff_url":"https://github.com/mne-tools/mne-python/pull/2526.diff","patch_url":"https://github.com/mne-tools/mne-python/pull/2526.patch"},"body":"Take over from https://github.com/mne-tools/mne-python/pull/2506.\r\nNow it calculates the ``order`` from number of samples. If more than 10 peaks are found, the largest 10 peaks are shown. With ``order = len(evoked.times) / 30`` it seems to find a bit less than 10 peaks per dataset (exactly 10 with somato).\r\nSample:\r\n![sample](https://cloud.githubusercontent.com/assets/3456414/10429076/38cfa6b2-70f6-11e5-8b3e-98f8520569b1.png)\r\nSomato:\r\n![somato](https://cloud.githubusercontent.com/assets/3456414/10429079/3e37017c-70f6-11e5-8bc6-96496928d763.png)\r\nSpm_faces:\r\n![spm_face](https://cloud.githubusercontent.com/assets/3456414/10429083/46dcc866-70f6-11e5-880e-a58bb61b9f66.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/147413894","html_url":"https://github.com/mne-tools/mne-python/pull/2526#issuecomment-147413894","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2526","id":147413894,"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-10-12T14:31:03Z","updated_at":"2015-10-12T14:31:03Z","body":"And it would also be worthwhile to set up virtualenvs for 3.4 and 2.6 (w/old numpy) while you're at it. We need to ensure compatibility across a large range of platforms, and sometimes (like this) it's a bit annoying."}}