{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/6465","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/6465/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/6465/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/6465/events","html_url":"https://github.com/scipy/scipy/pull/6465","id":169841440,"number":6465,"title":"TST DOC Window docs, tests, etc.","user":{"login":"endolith","id":58611,"avatar_url":"https://avatars.githubusercontent.com/u/58611?v=3","gravatar_id":"","url":"https://api.github.com/users/endolith","html_url":"https://github.com/endolith","followers_url":"https://api.github.com/users/endolith/followers","following_url":"https://api.github.com/users/endolith/following{/other_user}","gists_url":"https://api.github.com/users/endolith/gists{/gist_id}","starred_url":"https://api.github.com/users/endolith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endolith/subscriptions","organizations_url":"https://api.github.com/users/endolith/orgs","repos_url":"https://api.github.com/users/endolith/repos","events_url":"https://api.github.com/users/endolith/events{/privacy}","received_events_url":"https://api.github.com/users/endolith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-08T04:30:02Z","updated_at":"2016-08-09T13:05:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/6465","html_url":"https://github.com/scipy/scipy/pull/6465","diff_url":"https://github.com/scipy/scipy/pull/6465.diff","patch_url":"https://github.com/scipy/scipy/pull/6465.patch"},"body":"This should fix https://github.com/scipy/scipy/issues/4234 and improve coverage of exceptions, etc. shown by codecov.\r\n\r\nCombined several window functions into a generic sum-of-cosines function, since that's how most references describe the different functions anyway:\r\n\r\n> This kind of optimization leads to the definition of the so-called flat-top windows. If a\r\nthird order window is considered, this optimization yields the following coefficients: A<sub>0</sub> = 0.2811, A<sub>1</sub> = -0.5209, A<sub>2</sub> = 0.1980.\r\n\r\nSo now you can reproduce this window with  `_cos_win(M, [0.2811, 0.5209, 0.1980])`."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/238546242","html_url":"https://github.com/scipy/scipy/pull/6465#issuecomment-238546242","issue_url":"https://api.github.com/repos/scipy/scipy/issues/6465","id":238546242,"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":"2016-08-09T13:05:39Z","updated_at":"2016-08-09T13:05:39Z","body":"Not on my system, 2013a:\r\n```\r\n>> triang(6)\r\nans =\r\n    0.1667\r\n    0.5000\r\n    0.8333\r\n    0.8333\r\n    0.5000\r\n    0.1667\r\n>> triang(7)\r\nans =\r\n    0.2500\r\n    0.5000\r\n    0.7500\r\n    1.0000\r\n    0.7500\r\n    0.5000\r\n    0.2500\r\n```"}}
{"actor":{"display_login":"Eric89GXL"}}