{"action":"created","comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/comments/73038859","id":73038859,"diff_hunk":"@@ -245,6 +247,253 @@ def _cwt(X, Ws, mode=\"same\", decim=1, use_fft=True):\n         yield tfr\n \n \n+# Loop of convolution: single trial\n+\n+\n+def _compute_tfr(epoch_data, frequencies, sfreq=1.0, method='morlet',\n+                 n_cycles=7.0, zero_mean=None, time_bandwidth=None,\n+                 use_fft=True, decim=1, output='complex', n_jobs=1,\n+                 verbose=None):\n+    \"\"\"Computes time-frequency transforms.","path":"mne/time_frequency/tfr.py","position":196,"original_position":196,"commit_id":"da1632333629b162c746d632f1e9777226470e02","original_commit_id":"e87c46a120d6456cb99c9b830a5f895ca7acd549","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},"body":"wikipedia puts a -\r\n\r\n@Eric89GXL what's your take on this?","created_at":"2016-08-01T19:36:08Z","updated_at":"2016-08-01T19:36:08Z","html_url":"https://github.com/mne-tools/mne-python/pull/3476#discussion_r73038859","pull_request_url":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476","_links":{"self":{"href":"https://api.github.com/repos/mne-tools/mne-python/pulls/comments/73038859"},"html":{"href":"https://github.com/mne-tools/mne-python/pull/3476#discussion_r73038859"},"pull_request":{"href":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476"}}},"pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476","id":79579961,"html_url":"https://github.com/mne-tools/mne-python/pull/3476","diff_url":"https://github.com/mne-tools/mne-python/pull/3476.diff","patch_url":"https://github.com/mne-tools/mne-python/pull/3476.patch","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3476","number":3476,"state":"open","locked":false,"title":"[MRG] Refactor tfr","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},"body":"following up on #3454\r\n\r\nI created an EpochsTFR class which was discussed before in #2024\r\n\r\nextra pairs of eyes wanted.","created_at":"2016-08-01T14:44:16Z","updated_at":"2016-08-01T19:36:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e89e73c112558c65ac122c32e4bf0d59b6d8c7b","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mne-tools/mne-python/milestones/9","html_url":"https://github.com/mne-tools/mne-python/milestones/0.13","labels_url":"https://api.github.com/repos/mne-tools/mne-python/milestones/9/labels","id":1648503,"number":9,"title":"0.13","description":"","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":29,"closed_issues":70,"state":"open","created_at":"2016-03-16T17:14:08Z","updated_at":"2016-08-01T18:52:32Z","due_on":"2016-10-28T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476/commits","review_comments_url":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476/comments","review_comment_url":"https://api.github.com/repos/mne-tools/mne-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3476/comments","statuses_url":"https://api.github.com/repos/mne-tools/mne-python/statuses/da1632333629b162c746d632f1e9777226470e02","head":{"label":"agramfort:refactor_tfr","ref":"refactor_tfr","sha":"da1632333629b162c746d632f1e9777226470e02","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},"repo":{"id":2202093,"name":"mne-python","full_name":"agramfort/mne-python","owner":{"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},"private":false,"html_url":"https://github.com/agramfort/mne-python","description":"MNE scripting with Python","fork":true,"url":"https://api.github.com/repos/agramfort/mne-python","forks_url":"https://api.github.com/repos/agramfort/mne-python/forks","keys_url":"https://api.github.com/repos/agramfort/mne-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agramfort/mne-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agramfort/mne-python/teams","hooks_url":"https://api.github.com/repos/agramfort/mne-python/hooks","issue_events_url":"https://api.github.com/repos/agramfort/mne-python/issues/events{/number}","events_url":"https://api.github.com/repos/agramfort/mne-python/events","assignees_url":"https://api.github.com/repos/agramfort/mne-python/assignees{/user}","branches_url":"https://api.github.com/repos/agramfort/mne-python/branches{/branch}","tags_url":"https://api.github.com/repos/agramfort/mne-python/tags","blobs_url":"https://api.github.com/repos/agramfort/mne-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agramfort/mne-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agramfort/mne-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/agramfort/mne-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agramfort/mne-python/statuses/{sha}","languages_url":"https://api.github.com/repos/agramfort/mne-python/languages","stargazers_url":"https://api.github.com/repos/agramfort/mne-python/stargazers","contributors_url":"https://api.github.com/repos/agramfort/mne-python/contributors","subscribers_url":"https://api.github.com/repos/agramfort/mne-python/subscribers","subscription_url":"https://api.github.com/repos/agramfort/mne-python/subscription","commits_url":"https://api.github.com/repos/agramfort/mne-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/agramfort/mne-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/agramfort/mne-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/agramfort/mne-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/agramfort/mne-python/contents/{+path}","compare_url":"https://api.github.com/repos/agramfort/mne-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agramfort/mne-python/merges","archive_url":"https://api.github.com/repos/agramfort/mne-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agramfort/mne-python/downloads","issues_url":"https://api.github.com/repos/agramfort/mne-python/issues{/number}","pulls_url":"https://api.github.com/repos/agramfort/mne-python/pulls{/number}","milestones_url":"https://api.github.com/repos/agramfort/mne-python/milestones{/number}","notifications_url":"https://api.github.com/repos/agramfort/mne-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agramfort/mne-python/labels{/name}","releases_url":"https://api.github.com/repos/agramfort/mne-python/releases{/id}","deployments_url":"https://api.github.com/repos/agramfort/mne-python/deployments","created_at":"2011-08-13T15:44:42Z","updated_at":"2015-02-21T16:37:42Z","pushed_at":"2016-08-01T19:30:50Z","git_url":"git://github.com/agramfort/mne-python.git","ssh_url":"git@github.com:agramfort/mne-python.git","clone_url":"https://github.com/agramfort/mne-python.git","svn_url":"https://github.com/agramfort/mne-python","homepage":"http://martinos.org/mne","size":88525,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mne-tools:master","ref":"master","sha":"e71529b88417d634330cb8a5249633fed63a59fc","user":{"login":"mne-tools","id":583875,"avatar_url":"https://avatars.githubusercontent.com/u/583875?v=3","gravatar_id":"","url":"https://api.github.com/users/mne-tools","html_url":"https://github.com/mne-tools","followers_url":"https://api.github.com/users/mne-tools/followers","following_url":"https://api.github.com/users/mne-tools/following{/other_user}","gists_url":"https://api.github.com/users/mne-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/mne-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mne-tools/subscriptions","organizations_url":"https://api.github.com/users/mne-tools/orgs","repos_url":"https://api.github.com/users/mne-tools/repos","events_url":"https://api.github.com/users/mne-tools/events{/privacy}","received_events_url":"https://api.github.com/users/mne-tools/received_events","type":"Organization","site_admin":false},"repo":{"id":1301584,"name":"mne-python","full_name":"mne-tools/mne-python","owner":{"login":"mne-tools","id":583875,"avatar_url":"https://avatars.githubusercontent.com/u/583875?v=3","gravatar_id":"","url":"https://api.github.com/users/mne-tools","html_url":"https://github.com/mne-tools","followers_url":"https://api.github.com/users/mne-tools/followers","following_url":"https://api.github.com/users/mne-tools/following{/other_user}","gists_url":"https://api.github.com/users/mne-tools/gists{/gist_id}","starred_url":"https://api.github.com/users/mne-tools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mne-tools/subscriptions","organizations_url":"https://api.github.com/users/mne-tools/orgs","repos_url":"https://api.github.com/users/mne-tools/repos","events_url":"https://api.github.com/users/mne-tools/events{/privacy}","received_events_url":"https://api.github.com/users/mne-tools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mne-tools/mne-python","description":"MNE : Magnetoencephalography (MEG) and Electroencephalography (EEG) in Python","fork":false,"url":"https://api.github.com/repos/mne-tools/mne-python","forks_url":"https://api.github.com/repos/mne-tools/mne-python/forks","keys_url":"https://api.github.com/repos/mne-tools/mne-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mne-tools/mne-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mne-tools/mne-python/teams","hooks_url":"https://api.github.com/repos/mne-tools/mne-python/hooks","issue_events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/events{/number}","events_url":"https://api.github.com/repos/mne-tools/mne-python/events","assignees_url":"https://api.github.com/repos/mne-tools/mne-python/assignees{/user}","branches_url":"https://api.github.com/repos/mne-tools/mne-python/branches{/branch}","tags_url":"https://api.github.com/repos/mne-tools/mne-python/tags","blobs_url":"https://api.github.com/repos/mne-tools/mne-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mne-tools/mne-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mne-tools/mne-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/mne-tools/mne-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mne-tools/mne-python/statuses/{sha}","languages_url":"https://api.github.com/repos/mne-tools/mne-python/languages","stargazers_url":"https://api.github.com/repos/mne-tools/mne-python/stargazers","contributors_url":"https://api.github.com/repos/mne-tools/mne-python/contributors","subscribers_url":"https://api.github.com/repos/mne-tools/mne-python/subscribers","subscription_url":"https://api.github.com/repos/mne-tools/mne-python/subscription","commits_url":"https://api.github.com/repos/mne-tools/mne-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/mne-tools/mne-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/mne-tools/mne-python/contents/{+path}","compare_url":"https://api.github.com/repos/mne-tools/mne-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mne-tools/mne-python/merges","archive_url":"https://api.github.com/repos/mne-tools/mne-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mne-tools/mne-python/downloads","issues_url":"https://api.github.com/repos/mne-tools/mne-python/issues{/number}","pulls_url":"https://api.github.com/repos/mne-tools/mne-python/pulls{/number}","milestones_url":"https://api.github.com/repos/mne-tools/mne-python/milestones{/number}","notifications_url":"https://api.github.com/repos/mne-tools/mne-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mne-tools/mne-python/labels{/name}","releases_url":"https://api.github.com/repos/mne-tools/mne-python/releases{/id}","deployments_url":"https://api.github.com/repos/mne-tools/mne-python/deployments","created_at":"2011-01-28T03:31:13Z","updated_at":"2016-07-31T20:39:25Z","pushed_at":"2016-08-01T19:30:51Z","git_url":"git://github.com/mne-tools/mne-python.git","ssh_url":"git@github.com:mne-tools/mne-python.git","clone_url":"https://github.com/mne-tools/mne-python.git","svn_url":"https://github.com/mne-tools/mne-python","homepage":"http://martinos.org/mne/","size":180248,"stargazers_count":218,"watchers_count":218,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":206,"mirror_url":null,"open_issues_count":193,"forks":206,"open_issues":193,"watchers":218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476"},"html":{"href":"https://github.com/mne-tools/mne-python/pull/3476"},"issue":{"href":"https://api.github.com/repos/mne-tools/mne-python/issues/3476"},"comments":{"href":"https://api.github.com/repos/mne-tools/mne-python/issues/3476/comments"},"review_comments":{"href":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476/comments"},"review_comment":{"href":"https://api.github.com/repos/mne-tools/mne-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mne-tools/mne-python/pulls/3476/commits"},"statuses":{"href":"https://api.github.com/repos/mne-tools/mne-python/statuses/da1632333629b162c746d632f1e9777226470e02"}}}}
{"actor":{"display_login":"agramfort"}}