{"action":"created","comment":{"url":"https://api.github.com/repos/scipy/scipy/pulls/comments/26436909","id":26436909,"diff_hunk":"@@ -0,0 +1,114 @@\n+\"\"\" This module implements the Always Stable Projector from Ref. [1] that can\n+be used for predicting values in a (time) series, such as in [2-3].\n+\n+[1] J. Kolafa, J. Comput. Chem. 25, 335 (2004).\n+[2] T. D. Kuehne, M. Krack, F. Mohamed, and M. Parrinello,\n+    Phys. Rev. Lett. 98, 066401 (2007).\n+[3] T. Spura, H. Elgabarty, and T. D. Kuehne, Phys. Chem. Chem. Phys. (2015).\n+\"\"\"\n+\n+import numpy as np\n+import scipy.misc as scimisc","path":"scipy/interpolate/predict.py","position":11,"original_position":11,"commit_id":"f1995b4a1d03bc0990bb48d41f181b3f373602a9","original_commit_id":"f1995b4a1d03bc0990bb48d41f181b3f373602a9","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},"body":"from scipy import misc","created_at":"2015-03-14T10:34:28Z","updated_at":"2015-03-14T10:34:28Z","html_url":"https://github.com/scipy/scipy/pull/4632#discussion_r26436909","pull_request_url":"https://api.github.com/repos/scipy/scipy/pulls/4632","_links":{"self":{"href":"https://api.github.com/repos/scipy/scipy/pulls/comments/26436909"},"html":{"href":"https://github.com/scipy/scipy/pull/4632#discussion_r26436909"},"pull_request":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4632"}}},"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/4632","id":31173040,"html_url":"https://github.com/scipy/scipy/pull/4632","diff_url":"https://github.com/scipy/scipy/pull/4632.diff","patch_url":"https://github.com/scipy/scipy/pull/4632.patch","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4632","number":4632,"state":"open","locked":false,"title":"Add the Always Stable Predictor","user":{"login":"tomspur","id":303559,"avatar_url":"https://avatars.githubusercontent.com/u/303559?v=3","gravatar_id":"","url":"https://api.github.com/users/tomspur","html_url":"https://github.com/tomspur","followers_url":"https://api.github.com/users/tomspur/followers","following_url":"https://api.github.com/users/tomspur/following{/other_user}","gists_url":"https://api.github.com/users/tomspur/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspur/subscriptions","organizations_url":"https://api.github.com/users/tomspur/orgs","repos_url":"https://api.github.com/users/tomspur/repos","events_url":"https://api.github.com/users/tomspur/events{/privacy}","received_events_url":"https://api.github.com/users/tomspur/received_events","type":"User","site_admin":false},"body":"As already discussed in IRC with @pv, this pull requests implements the Always Stable Predictor from [1] to the interpolate module.\r\n\r\n[1] J. Kolafa, J. Comput. Chem. 25, 335 (2004).","created_at":"2015-03-13T23:45:05Z","updated_at":"2015-03-14T10:34:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ecf6ac5fe8db6955b204e7ddd94366ae5d0efa2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scipy/scipy/pulls/4632/commits","review_comments_url":"https://api.github.com/repos/scipy/scipy/pulls/4632/comments","review_comment_url":"https://api.github.com/repos/scipy/scipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4632/comments","statuses_url":"https://api.github.com/repos/scipy/scipy/statuses/f1995b4a1d03bc0990bb48d41f181b3f373602a9","head":{"label":"tomspur:add_asp","ref":"add_asp","sha":"f1995b4a1d03bc0990bb48d41f181b3f373602a9","user":{"login":"tomspur","id":303559,"avatar_url":"https://avatars.githubusercontent.com/u/303559?v=3","gravatar_id":"","url":"https://api.github.com/users/tomspur","html_url":"https://github.com/tomspur","followers_url":"https://api.github.com/users/tomspur/followers","following_url":"https://api.github.com/users/tomspur/following{/other_user}","gists_url":"https://api.github.com/users/tomspur/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspur/subscriptions","organizations_url":"https://api.github.com/users/tomspur/orgs","repos_url":"https://api.github.com/users/tomspur/repos","events_url":"https://api.github.com/users/tomspur/events{/privacy}","received_events_url":"https://api.github.com/users/tomspur/received_events","type":"User","site_admin":false},"repo":{"id":16514510,"name":"scipy","full_name":"tomspur/scipy","owner":{"login":"tomspur","id":303559,"avatar_url":"https://avatars.githubusercontent.com/u/303559?v=3","gravatar_id":"","url":"https://api.github.com/users/tomspur","html_url":"https://github.com/tomspur","followers_url":"https://api.github.com/users/tomspur/followers","following_url":"https://api.github.com/users/tomspur/following{/other_user}","gists_url":"https://api.github.com/users/tomspur/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspur/subscriptions","organizations_url":"https://api.github.com/users/tomspur/orgs","repos_url":"https://api.github.com/users/tomspur/repos","events_url":"https://api.github.com/users/tomspur/events{/privacy}","received_events_url":"https://api.github.com/users/tomspur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomspur/scipy","description":"Scipy main repository","fork":true,"url":"https://api.github.com/repos/tomspur/scipy","forks_url":"https://api.github.com/repos/tomspur/scipy/forks","keys_url":"https://api.github.com/repos/tomspur/scipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomspur/scipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomspur/scipy/teams","hooks_url":"https://api.github.com/repos/tomspur/scipy/hooks","issue_events_url":"https://api.github.com/repos/tomspur/scipy/issues/events{/number}","events_url":"https://api.github.com/repos/tomspur/scipy/events","assignees_url":"https://api.github.com/repos/tomspur/scipy/assignees{/user}","branches_url":"https://api.github.com/repos/tomspur/scipy/branches{/branch}","tags_url":"https://api.github.com/repos/tomspur/scipy/tags","blobs_url":"https://api.github.com/repos/tomspur/scipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomspur/scipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomspur/scipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomspur/scipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomspur/scipy/statuses/{sha}","languages_url":"https://api.github.com/repos/tomspur/scipy/languages","stargazers_url":"https://api.github.com/repos/tomspur/scipy/stargazers","contributors_url":"https://api.github.com/repos/tomspur/scipy/contributors","subscribers_url":"https://api.github.com/repos/tomspur/scipy/subscribers","subscription_url":"https://api.github.com/repos/tomspur/scipy/subscription","commits_url":"https://api.github.com/repos/tomspur/scipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomspur/scipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomspur/scipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomspur/scipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomspur/scipy/contents/{+path}","compare_url":"https://api.github.com/repos/tomspur/scipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomspur/scipy/merges","archive_url":"https://api.github.com/repos/tomspur/scipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomspur/scipy/downloads","issues_url":"https://api.github.com/repos/tomspur/scipy/issues{/number}","pulls_url":"https://api.github.com/repos/tomspur/scipy/pulls{/number}","milestones_url":"https://api.github.com/repos/tomspur/scipy/milestones{/number}","notifications_url":"https://api.github.com/repos/tomspur/scipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomspur/scipy/labels{/name}","releases_url":"https://api.github.com/repos/tomspur/scipy/releases{/id}","created_at":"2014-02-04T14:41:58Z","updated_at":"2014-02-24T07:52:08Z","pushed_at":"2015-03-14T00:03:29Z","git_url":"git://github.com/tomspur/scipy.git","ssh_url":"git@github.com:tomspur/scipy.git","clone_url":"https://github.com/tomspur/scipy.git","svn_url":"https://github.com/tomspur/scipy","homepage":"http://scipy.org/","size":53727,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scipy:master","ref":"master","sha":"1768e714b7ed4344bd66c541f02030b5b005ce19","user":{"login":"scipy","id":288277,"avatar_url":"https://avatars.githubusercontent.com/u/288277?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy","html_url":"https://github.com/scipy","followers_url":"https://api.github.com/users/scipy/followers","following_url":"https://api.github.com/users/scipy/following{/other_user}","gists_url":"https://api.github.com/users/scipy/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy/subscriptions","organizations_url":"https://api.github.com/users/scipy/orgs","repos_url":"https://api.github.com/users/scipy/repos","events_url":"https://api.github.com/users/scipy/events{/privacy}","received_events_url":"https://api.github.com/users/scipy/received_events","type":"Organization","site_admin":false},"repo":{"id":1460385,"name":"scipy","full_name":"scipy/scipy","owner":{"login":"scipy","id":288277,"avatar_url":"https://avatars.githubusercontent.com/u/288277?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy","html_url":"https://github.com/scipy","followers_url":"https://api.github.com/users/scipy/followers","following_url":"https://api.github.com/users/scipy/following{/other_user}","gists_url":"https://api.github.com/users/scipy/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy/subscriptions","organizations_url":"https://api.github.com/users/scipy/orgs","repos_url":"https://api.github.com/users/scipy/repos","events_url":"https://api.github.com/users/scipy/events{/privacy}","received_events_url":"https://api.github.com/users/scipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scipy/scipy","description":"Scipy library main repository","fork":false,"url":"https://api.github.com/repos/scipy/scipy","forks_url":"https://api.github.com/repos/scipy/scipy/forks","keys_url":"https://api.github.com/repos/scipy/scipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scipy/scipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scipy/scipy/teams","hooks_url":"https://api.github.com/repos/scipy/scipy/hooks","issue_events_url":"https://api.github.com/repos/scipy/scipy/issues/events{/number}","events_url":"https://api.github.com/repos/scipy/scipy/events","assignees_url":"https://api.github.com/repos/scipy/scipy/assignees{/user}","branches_url":"https://api.github.com/repos/scipy/scipy/branches{/branch}","tags_url":"https://api.github.com/repos/scipy/scipy/tags","blobs_url":"https://api.github.com/repos/scipy/scipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scipy/scipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scipy/scipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/scipy/scipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scipy/scipy/statuses/{sha}","languages_url":"https://api.github.com/repos/scipy/scipy/languages","stargazers_url":"https://api.github.com/repos/scipy/scipy/stargazers","contributors_url":"https://api.github.com/repos/scipy/scipy/contributors","subscribers_url":"https://api.github.com/repos/scipy/scipy/subscribers","subscription_url":"https://api.github.com/repos/scipy/scipy/subscription","commits_url":"https://api.github.com/repos/scipy/scipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/scipy/scipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/scipy/scipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/scipy/scipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/scipy/scipy/contents/{+path}","compare_url":"https://api.github.com/repos/scipy/scipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scipy/scipy/merges","archive_url":"https://api.github.com/repos/scipy/scipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scipy/scipy/downloads","issues_url":"https://api.github.com/repos/scipy/scipy/issues{/number}","pulls_url":"https://api.github.com/repos/scipy/scipy/pulls{/number}","milestones_url":"https://api.github.com/repos/scipy/scipy/milestones{/number}","notifications_url":"https://api.github.com/repos/scipy/scipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scipy/scipy/labels{/name}","releases_url":"https://api.github.com/repos/scipy/scipy/releases{/id}","created_at":"2011-03-09T18:52:03Z","updated_at":"2015-03-14T10:22:50Z","pushed_at":"2015-03-14T10:22:50Z","git_url":"git://github.com/scipy/scipy.git","ssh_url":"git@github.com:scipy/scipy.git","clone_url":"https://github.com/scipy/scipy.git","svn_url":"https://github.com/scipy/scipy","homepage":"http://scipy.org/scipylib/","size":84233,"stargazers_count":1535,"watchers_count":1535,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":812,"mirror_url":null,"open_issues_count":792,"forks":812,"open_issues":792,"watchers":1535,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4632"},"html":{"href":"https://github.com/scipy/scipy/pull/4632"},"issue":{"href":"https://api.github.com/repos/scipy/scipy/issues/4632"},"comments":{"href":"https://api.github.com/repos/scipy/scipy/issues/4632/comments"},"review_comments":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4632/comments"},"review_comment":{"href":"https://api.github.com/repos/scipy/scipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4632/commits"},"statuses":{"href":"https://api.github.com/repos/scipy/scipy/statuses/f1995b4a1d03bc0990bb48d41f181b3f373602a9"}}}}