{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/6872","repository_url":"https://api.github.com/repos/numpy/numpy","labels_url":"https://api.github.com/repos/numpy/numpy/issues/6872/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/6872/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/6872/events","html_url":"https://github.com/numpy/numpy/pull/6872","id":123237550,"number":6872,"title":"ENH: linear interpolation of complex values in lib.interp","user":{"login":"pec27","id":2505317,"avatar_url":"https://avatars.githubusercontent.com/u/2505317?v=3","gravatar_id":"","url":"https://api.github.com/users/pec27","html_url":"https://github.com/pec27","followers_url":"https://api.github.com/users/pec27/followers","following_url":"https://api.github.com/users/pec27/following{/other_user}","gists_url":"https://api.github.com/users/pec27/gists{/gist_id}","starred_url":"https://api.github.com/users/pec27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pec27/subscriptions","organizations_url":"https://api.github.com/users/pec27/orgs","repos_url":"https://api.github.com/users/pec27/repos","events_url":"https://api.github.com/users/pec27/events{/privacy}","received_events_url":"https://api.github.com/users/pec27/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numpy/numpy/labels/09%20-%20Enhancement","name":"09 - Enhancement","color":"fef2c0"},{"url":"https://api.github.com/repos/numpy/numpy/labels/56%20-%20Needs%20Release%20Note.","name":"56 - Needs Release Note.","color":"207de5"},{"url":"https://api.github.com/repos/numpy/numpy/labels/component:%20numpy.core","name":"component: numpy.core","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/numpy/numpy/milestones/41","html_url":"https://github.com/numpy/numpy/milestones/1.12.0%20release","labels_url":"https://api.github.com/repos/numpy/numpy/milestones/41/labels","id":1503092,"number":41,"title":"1.12.0 release","description":"Tag for the Numpy 1.12.0 release.","creator":{"login":"charris","id":77272,"avatar_url":"https://avatars.githubusercontent.com/u/77272?v=3","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":18,"state":"open","created_at":"2016-01-12T20:39:09Z","updated_at":"2016-05-07T02:33:23Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-12-21T09:11:23Z","updated_at":"2016-05-11T08:46:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/numpy/numpy/pulls/6872","html_url":"https://github.com/numpy/numpy/pull/6872","diff_url":"https://github.com/numpy/numpy/pull/6872.diff","patch_url":"https://github.com/numpy/numpy/pull/6872.patch"},"body":"I wanted to be able to do linear interpolation between complex values, i.e.\r\n> y = np.interp(mu, theta, m)\r\n\r\nrather than\r\n> y = np.interp(mu, theta, m.real) + 1.0j*interp(mu, theta, m.imag)\r\n\r\n\r\nThis could be just achieved with a wrapper for the above, detecting the complex case, but I thought I would reduce the double cache-misses by covering the complex case in compiled_base.c \r\n\r\nThis is my first pull request, please be gentle :-).\r\n"},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/218398705","html_url":"https://github.com/numpy/numpy/pull/6872#issuecomment-218398705","issue_url":"https://api.github.com/repos/numpy/numpy/issues/6872","id":218398705,"user":{"login":"pv","id":35046,"avatar_url":"https://avatars.githubusercontent.com/u/35046?v=3","gravatar_id":"","url":"https://api.github.com/users/pv","html_url":"https://github.com/pv","followers_url":"https://api.github.com/users/pv/followers","following_url":"https://api.github.com/users/pv/following{/other_user}","gists_url":"https://api.github.com/users/pv/gists{/gist_id}","starred_url":"https://api.github.com/users/pv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pv/subscriptions","organizations_url":"https://api.github.com/users/pv/orgs","repos_url":"https://api.github.com/users/pv/repos","events_url":"https://api.github.com/users/pv/events{/privacy}","received_events_url":"https://api.github.com/users/pv/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T08:46:13Z","updated_at":"2016-05-11T08:46:13Z","body":"@ahaldane: note that github nowadays has the \"squash+merge\" button that \nsquashes everything into one commit (be sure to write the desired commit \nmessage to the msg box).\n"}}