{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/4540","labels_url":"https://api.github.com/repos/scipy/scipy/issues/4540/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4540/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/4540/events","html_url":"https://github.com/scipy/scipy/pull/4540","id":58423605,"number":4540,"title":"ENH: spatial: Add procrustes analysis","user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/scipy/scipy/labels/scipy.spatial","name":"scipy.spatial","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scipy/scipy/milestones/24","html_url":"https://github.com/scipy/scipy/milestones/0.16.0","labels_url":"https://api.github.com/repos/scipy/scipy/milestones/24/labels","id":792277,"number":24,"title":"0.16.0","description":"","creator":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":211,"state":"open","created_at":"2014-09-16T21:15:40Z","updated_at":"2015-03-11T18:05:50Z","due_on":"2016-03-30T07:00:00Z","closed_at":null},"comments":25,"created_at":"2015-02-20T23:11:13Z","updated_at":"2015-03-11T19:12:07Z","closed_at":"2015-03-11T17:48:57Z","pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/4540","html_url":"https://github.com/scipy/scipy/pull/4540","diff_url":"https://github.com/scipy/scipy/pull/4540.diff","patch_url":"https://github.com/scipy/scipy/pull/4540.patch"},"body":"Add `scipy.spatial.procrustes` which includes a main function, `procrustes`, that translates, rotates and scales two sets of points to superimpose them in the best possible way.\r\n\r\nThis code is being ported from [scikit-bio](https://github.com/biocore/scikit-bio) in response to #3786.\r\n\r\n~~@argriffing, `procrustes` is using `orthogonal_procrustes` under the hood, and it has a special case for points that match exactly (this is the issue I brought with #3994). Regrettably, I couldn't come up with a better solution than the `if` block in line 119 of `procrustes.py`, if you have any suggestions on how to deal with this, I am interested in hearing them!~~"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/78348707","html_url":"https://github.com/scipy/scipy/pull/4540#issuecomment-78348707","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4540","id":78348707,"user":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T19:12:07Z","updated_at":"2015-03-11T19:12:07Z","body":"@ElDeveloper I suspect that it'll slip a bit - creating the branch by then (which means final release ~6 weeks later probably) is more realistic."}}