{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/3606","repository_url":"https://api.github.com/repos/mne-tools/mne-python","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3606/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3606/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3606/events","html_url":"https://github.com/mne-tools/mne-python/pull/3606","id":178251720,"number":3606,"title":"Fix Stockwell transform when n_fft is power of two","user":{"login":"jniediek","id":3511716,"avatar_url":"https://avatars.githubusercontent.com/u/3511716?v=3","gravatar_id":"","url":"https://api.github.com/users/jniediek","html_url":"https://github.com/jniediek","followers_url":"https://api.github.com/users/jniediek/followers","following_url":"https://api.github.com/users/jniediek/following{/other_user}","gists_url":"https://api.github.com/users/jniediek/gists{/gist_id}","starred_url":"https://api.github.com/users/jniediek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jniediek/subscriptions","organizations_url":"https://api.github.com/users/jniediek/orgs","repos_url":"https://api.github.com/users/jniediek/repos","events_url":"https://api.github.com/users/jniediek/events{/privacy}","received_events_url":"https://api.github.com/users/jniediek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"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":5,"closed_issues":114,"state":"open","created_at":"2016-03-16T17:14:08Z","updated_at":"2016-09-21T20:13:39Z","due_on":"2016-09-23T04:00:00Z","closed_at":null},"comments":4,"created_at":"2016-09-21T05:41:13Z","updated_at":"2016-09-21T20:13:50Z","closed_at":"2016-09-21T20:13:39Z","pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/3606","html_url":"https://github.com/mne-tools/mne-python/pull/3606","diff_url":"https://github.com/mne-tools/mne-python/pull/3606.diff","patch_url":"https://github.com/mne-tools/mne-python/pull/3606.patch"},"body":"This is the continuation of PR #3605, which was closed due to commit chaos.\r\n\r\nThere were two related errors in `time_frequency/_stockwell.py`. Both were relevant only if the input data to the Stockwell transform has 2**N samples.\r\n\r\n1) in `_check_input_st(x_in, n_fft)`: Return was indented wrongly and zero_pad was undefined iff `n_fft == 2**N`.\r\n2) In _precompute_st_windows: The computation of TFR was wrong if `zero_pad == 0`.\r\n\r\nThis PR fixes these errors and adds two new tests in `time_frequency/tests/test_stockwell.py`\r\n"},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/248729214","html_url":"https://github.com/mne-tools/mne-python/pull/3606#issuecomment-248729214","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3606","id":248729214,"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":"2016-09-21T20:13:50Z","updated_at":"2016-09-21T20:13:50Z","body":"I'll update what's new in master\r\n\r\nthx @jniediek "}}
{"actor":{"display_login":"agramfort"}}