{"action":"created","issue":{"url":"https://api.github.com/repos/pyFFTW/pyFFTW/issues/140","repository_url":"https://api.github.com/repos/pyFFTW/pyFFTW","labels_url":"https://api.github.com/repos/pyFFTW/pyFFTW/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/pyFFTW/pyFFTW/issues/140/comments","events_url":"https://api.github.com/repos/pyFFTW/pyFFTW/issues/140/events","html_url":"https://github.com/pyFFTW/pyFFTW/pull/140","id":198081262,"number":140,"title":"ENH: process float16 inputs in single precision","user":{"login":"grlee77","id":6528957,"avatar_url":"https://avatars0.githubusercontent.com/u/6528957?v=3","gravatar_id":"","url":"https://api.github.com/users/grlee77","html_url":"https://github.com/grlee77","followers_url":"https://api.github.com/users/grlee77/followers","following_url":"https://api.github.com/users/grlee77/following{/other_user}","gists_url":"https://api.github.com/users/grlee77/gists{/gist_id}","starred_url":"https://api.github.com/users/grlee77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grlee77/subscriptions","organizations_url":"https://api.github.com/users/grlee77/orgs","repos_url":"https://api.github.com/users/grlee77/repos","events_url":"https://api.github.com/users/grlee77/events{/privacy}","received_events_url":"https://api.github.com/users/grlee77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-12-29T22:58:43Z","updated_at":"2017-04-26T11:40:19Z","closed_at":"2017-03-09T10:24:18Z","pull_request":{"url":"https://api.github.com/repos/pyFFTW/pyFFTW/pulls/140","html_url":"https://github.com/pyFFTW/pyFFTW/pull/140","diff_url":"https://github.com/pyFFTW/pyFFTW/pull/140.diff","patch_url":"https://github.com/pyFFTW/pyFFTW/pull/140.patch"},"body":"This PR adds a special case for  `numpy.float16` data, causing it to be processed in single rather than double precision.  I think it makes sense to use the nearest available floating point precision in FFTW.  \r\n\r\na simple example:\r\n\r\n```python\r\nimport numpy as np\r\nfrom pyfftw.interfaces.numpy_fft import fftn\r\na = fftn(np.random.randn(32).astype(np.float16))\r\nprint(a.dtype)\r\n```\r\n`a` in the example above is `complex64` with this PR vs  `complex128` in current master.\r\n\r\nIf this seems acceptable, can you please point to where the best place to add a test for this would be?"},"comment":{"url":"https://api.github.com/repos/pyFFTW/pyFFTW/issues/comments/297372623","html_url":"https://github.com/pyFFTW/pyFFTW/pull/140#issuecomment-297372623","issue_url":"https://api.github.com/repos/pyFFTW/pyFFTW/issues/140","id":297372623,"user":{"login":"hgomersall","id":701883,"avatar_url":"https://avatars1.githubusercontent.com/u/701883?v=3","gravatar_id":"","url":"https://api.github.com/users/hgomersall","html_url":"https://github.com/hgomersall","followers_url":"https://api.github.com/users/hgomersall/followers","following_url":"https://api.github.com/users/hgomersall/following{/other_user}","gists_url":"https://api.github.com/users/hgomersall/gists{/gist_id}","starred_url":"https://api.github.com/users/hgomersall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgomersall/subscriptions","organizations_url":"https://api.github.com/users/hgomersall/orgs","repos_url":"https://api.github.com/users/hgomersall/repos","events_url":"https://api.github.com/users/hgomersall/events{/privacy}","received_events_url":"https://api.github.com/users/hgomersall/received_events","type":"User","site_admin":false},"created_at":"2017-04-26T11:40:19Z","updated_at":"2017-04-26T11:40:19Z","body":"Apparently this broke appveyor. It seems to not be able to find the lib file. I suspect this actually has nothing to do this this commit but is more down to the time between commits."}}
{"actor":{"display_login":"hgomersall"}}