{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/1795","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1795/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1795/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1795/events","html_url":"https://github.com/mne-tools/mne-python/pull/1795","id":57378892,"number":1795,"title":"Add Corrmap","user":{"login":"jona-sassenhagen","id":4321826,"avatar_url":"https://avatars.githubusercontent.com/u/4321826?v=3","gravatar_id":"","url":"https://api.github.com/users/jona-sassenhagen","html_url":"https://github.com/jona-sassenhagen","followers_url":"https://api.github.com/users/jona-sassenhagen/followers","following_url":"https://api.github.com/users/jona-sassenhagen/following{/other_user}","gists_url":"https://api.github.com/users/jona-sassenhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jona-sassenhagen/subscriptions","organizations_url":"https://api.github.com/users/jona-sassenhagen/orgs","repos_url":"https://api.github.com/users/jona-sassenhagen/repos","events_url":"https://api.github.com/users/jona-sassenhagen/events{/privacy}","received_events_url":"https://api.github.com/users/jona-sassenhagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mne-tools/mne-python/milestones/5","html_url":"https://github.com/mne-tools/mne-python/milestones/0.9","labels_url":"https://api.github.com/repos/mne-tools/mne-python/milestones/5/labels","id":1011721,"number":5,"title":"0.9","description":null,"creator":{"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},"open_issues":24,"closed_issues":60,"state":"open","created_at":"2015-03-09T03:10:39Z","updated_at":"2015-04-18T16:48:23Z","due_on":null,"closed_at":null},"comments":55,"created_at":"2015-02-11T21:20:06Z","updated_at":"2015-04-18T16:54:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/1795","html_url":"https://github.com/mne-tools/mne-python/pull/1795","diff_url":"https://github.com/mne-tools/mne-python/pull/1795.diff","patch_url":"https://github.com/mne-tools/mne-python/pull/1795.patch"},"body":"Implementation of Corrmap; [website](http://www.debener.de/corrmap/corrmapplugin1.html), [journal paper](http://www.ncbi.nlm.nih.gov/pubmed/19345611).\r\n\r\nCorrmap is a procedure for semi-automatic selection of maps, especially for selecting common ICs for a number of subjects. The user inputs a list of fitted ICAs (such as for all of the subjects of a study) and denotes a template IC (such as a blink IC). The Corrmap algorithm then determines the best-fitting ICs for all ICAs and adds them to the ICAs in a specified field.\r\n\r\n[Here](http://nbviewer.ipython.org/gist/jona-sassenhagen/a6c577bc79e91ada9f77) is a gist.\r\n\r\nThe routine should basically work and be somewhat robust. I'm open to any feedback.\r\nThis is not a translation of the original MATLAB program, but an attempt of recreating the behaviour as described in the journal paper.\r\n\r\nCurrently, the routine only takes ICs, but in the long term, it could be expanded to select any sets of matching topographies, such as for basic microstate analysis.\r\n\r\nI'm not sure how a test could be built as the algorithm requires multiple IC decompositions."},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/94180773","html_url":"https://github.com/mne-tools/mne-python/pull/1795#issuecomment-94180773","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1795","id":94180773,"user":{"login":"jona-sassenhagen","id":4321826,"avatar_url":"https://avatars.githubusercontent.com/u/4321826?v=3","gravatar_id":"","url":"https://api.github.com/users/jona-sassenhagen","html_url":"https://github.com/jona-sassenhagen","followers_url":"https://api.github.com/users/jona-sassenhagen/followers","following_url":"https://api.github.com/users/jona-sassenhagen/following{/other_user}","gists_url":"https://api.github.com/users/jona-sassenhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jona-sassenhagen/subscriptions","organizations_url":"https://api.github.com/users/jona-sassenhagen/orgs","repos_url":"https://api.github.com/users/jona-sassenhagen/repos","events_url":"https://api.github.com/users/jona-sassenhagen/events{/privacy}","received_events_url":"https://api.github.com/users/jona-sassenhagen/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T16:54:34Z","updated_at":"2015-04-18T16:54:34Z","body":"Can I restart Travis somehow? It's all urlib errors."}}