{"action":"created","comment":{"url":"https://api.github.com/repos/odlgroup/odl/pulls/comments/53148599","id":53148599,"diff_hunk":"@@ -54,74 +61,81 @@ def finite_diff(f, out=None, axis=0, dx=1.0, edge_order=2,\n     f : `array-like`\n          An N-dimensional array\n     out : `numpy.ndarray`, optional\n-         An N-dimensional array to which the output is written.\n+         An N-dimensional array to which the output is written\n     axis : `int`, optional\n-        The axis along which the partial derivative is evaluated. Default: 0\n+        The axis along which the partial derivative is evaluated\n     dx : `float`, optional\n-        Scalar specifying the sample distances in each dimension ``axis``.\n-        Default distance: 1.0\n-    edge_order : {1, 2}, optional\n-        First-order accurate differences (1) can be used at the boundaries\n-        if no zero padding is used. Default edge order: 2\n-    zero_padding : `bool`, optional\n-        Implicit zero padding. Assumes values outside the domain of ``f`` to be\n-        zero. Default: `False`\n+        Scalar specifying the distance between sampling points along ``axis``\n     method : {'central', 'forward', 'backward'}, optional\n-        The method that should be used.\n+        Finite difference method which is used in the interior of the domain\n+         of ``f``.\n+    padding : `float` or 'edge', optional\n+        `float` : Implicit padding. Assumes indices outside the domain of\n+            ``f`` to have the value ``padding``. If `None` forward or\n+              backward differences are used at the boundary instead of zero\n+              padding.\n+        'edge' : Replicate values at the boundary. Thus forward or\n+        backward difference become zero on the endpoints.","path":"odl/discr/discr_ops.py","position":64,"original_position":64,"commit_id":"6d04d46295146cdac743d635044c7442dca625cc","original_commit_id":"6d04d46295146cdac743d635044c7442dca625cc","user":{"login":"moosmann","id":6815901,"avatar_url":"https://avatars.githubusercontent.com/u/6815901?v=3","gravatar_id":"","url":"https://api.github.com/users/moosmann","html_url":"https://github.com/moosmann","followers_url":"https://api.github.com/users/moosmann/followers","following_url":"https://api.github.com/users/moosmann/following{/other_user}","gists_url":"https://api.github.com/users/moosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/moosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosmann/subscriptions","organizations_url":"https://api.github.com/users/moosmann/orgs","repos_url":"https://api.github.com/users/moosmann/repos","events_url":"https://api.github.com/users/moosmann/events{/privacy}","received_events_url":"https://api.github.com/users/moosmann/received_events","type":"User","site_admin":false},"body":"Since it's currently the same we could. In numpy  `'symmetric'` is used. So should we use that?","created_at":"2016-02-17T10:57:53Z","updated_at":"2016-02-17T10:57:53Z","html_url":"https://github.com/odlgroup/odl/pull/230#discussion_r53148599","pull_request_url":"https://api.github.com/repos/odlgroup/odl/pulls/230","_links":{"self":{"href":"https://api.github.com/repos/odlgroup/odl/pulls/comments/53148599"},"html":{"href":"https://github.com/odlgroup/odl/pull/230#discussion_r53148599"},"pull_request":{"href":"https://api.github.com/repos/odlgroup/odl/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/odlgroup/odl/pulls/230","id":56778302,"html_url":"https://github.com/odlgroup/odl/pull/230","diff_url":"https://github.com/odlgroup/odl/pull/230.diff","patch_url":"https://github.com/odlgroup/odl/pull/230.patch","issue_url":"https://api.github.com/repos/odlgroup/odl/issues/230","number":230,"state":"open","locked":false,"title":"Issue 226  chambolle pock solver","user":{"login":"adler-j","id":2202312,"avatar_url":"https://avatars.githubusercontent.com/u/2202312?v=3","gravatar_id":"","url":"https://api.github.com/users/adler-j","html_url":"https://github.com/adler-j","followers_url":"https://api.github.com/users/adler-j/followers","following_url":"https://api.github.com/users/adler-j/following{/other_user}","gists_url":"https://api.github.com/users/adler-j/gists{/gist_id}","starred_url":"https://api.github.com/users/adler-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adler-j/subscriptions","organizations_url":"https://api.github.com/users/adler-j/orgs","repos_url":"https://api.github.com/users/adler-j/repos","events_url":"https://api.github.com/users/adler-j/events{/privacy}","received_events_url":"https://api.github.com/users/adler-j/received_events","type":"User","site_admin":false},"body":"Created a pull request of this to be able to comment. @moosmann and @aringh are main authors.","created_at":"2016-01-21T17:02:14Z","updated_at":"2016-02-17T10:57:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d115755965e73a22f7a119dadecd806d296b547","assignee":{"login":"moosmann","id":6815901,"avatar_url":"https://avatars.githubusercontent.com/u/6815901?v=3","gravatar_id":"","url":"https://api.github.com/users/moosmann","html_url":"https://github.com/moosmann","followers_url":"https://api.github.com/users/moosmann/followers","following_url":"https://api.github.com/users/moosmann/following{/other_user}","gists_url":"https://api.github.com/users/moosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/moosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moosmann/subscriptions","organizations_url":"https://api.github.com/users/moosmann/orgs","repos_url":"https://api.github.com/users/moosmann/repos","events_url":"https://api.github.com/users/moosmann/events{/privacy}","received_events_url":"https://api.github.com/users/moosmann/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/odlgroup/odl/pulls/230/commits","review_comments_url":"https://api.github.com/repos/odlgroup/odl/pulls/230/comments","review_comment_url":"https://api.github.com/repos/odlgroup/odl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odlgroup/odl/issues/230/comments","statuses_url":"https://api.github.com/repos/odlgroup/odl/statuses/6d04d46295146cdac743d635044c7442dca625cc","head":{"label":"odlgroup:issue-226__Chambolle-Pock_solver","ref":"issue-226__Chambolle-Pock_solver","sha":"6d04d46295146cdac743d635044c7442dca625cc","user":{"login":"odlgroup","id":15667171,"avatar_url":"https://avatars.githubusercontent.com/u/15667171?v=3","gravatar_id":"","url":"https://api.github.com/users/odlgroup","html_url":"https://github.com/odlgroup","followers_url":"https://api.github.com/users/odlgroup/followers","following_url":"https://api.github.com/users/odlgroup/following{/other_user}","gists_url":"https://api.github.com/users/odlgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/odlgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odlgroup/subscriptions","organizations_url":"https://api.github.com/users/odlgroup/orgs","repos_url":"https://api.github.com/users/odlgroup/repos","events_url":"https://api.github.com/users/odlgroup/events{/privacy}","received_events_url":"https://api.github.com/users/odlgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":45596393,"name":"odl","full_name":"odlgroup/odl","owner":{"login":"odlgroup","id":15667171,"avatar_url":"https://avatars.githubusercontent.com/u/15667171?v=3","gravatar_id":"","url":"https://api.github.com/users/odlgroup","html_url":"https://github.com/odlgroup","followers_url":"https://api.github.com/users/odlgroup/followers","following_url":"https://api.github.com/users/odlgroup/following{/other_user}","gists_url":"https://api.github.com/users/odlgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/odlgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odlgroup/subscriptions","organizations_url":"https://api.github.com/users/odlgroup/orgs","repos_url":"https://api.github.com/users/odlgroup/repos","events_url":"https://api.github.com/users/odlgroup/events{/privacy}","received_events_url":"https://api.github.com/users/odlgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odlgroup/odl","description":"Operator Discretization Library","fork":false,"url":"https://api.github.com/repos/odlgroup/odl","forks_url":"https://api.github.com/repos/odlgroup/odl/forks","keys_url":"https://api.github.com/repos/odlgroup/odl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odlgroup/odl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odlgroup/odl/teams","hooks_url":"https://api.github.com/repos/odlgroup/odl/hooks","issue_events_url":"https://api.github.com/repos/odlgroup/odl/issues/events{/number}","events_url":"https://api.github.com/repos/odlgroup/odl/events","assignees_url":"https://api.github.com/repos/odlgroup/odl/assignees{/user}","branches_url":"https://api.github.com/repos/odlgroup/odl/branches{/branch}","tags_url":"https://api.github.com/repos/odlgroup/odl/tags","blobs_url":"https://api.github.com/repos/odlgroup/odl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odlgroup/odl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odlgroup/odl/git/refs{/sha}","trees_url":"https://api.github.com/repos/odlgroup/odl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odlgroup/odl/statuses/{sha}","languages_url":"https://api.github.com/repos/odlgroup/odl/languages","stargazers_url":"https://api.github.com/repos/odlgroup/odl/stargazers","contributors_url":"https://api.github.com/repos/odlgroup/odl/contributors","subscribers_url":"https://api.github.com/repos/odlgroup/odl/subscribers","subscription_url":"https://api.github.com/repos/odlgroup/odl/subscription","commits_url":"https://api.github.com/repos/odlgroup/odl/commits{/sha}","git_commits_url":"https://api.github.com/repos/odlgroup/odl/git/commits{/sha}","comments_url":"https://api.github.com/repos/odlgroup/odl/comments{/number}","issue_comment_url":"https://api.github.com/repos/odlgroup/odl/issues/comments{/number}","contents_url":"https://api.github.com/repos/odlgroup/odl/contents/{+path}","compare_url":"https://api.github.com/repos/odlgroup/odl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odlgroup/odl/merges","archive_url":"https://api.github.com/repos/odlgroup/odl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odlgroup/odl/downloads","issues_url":"https://api.github.com/repos/odlgroup/odl/issues{/number}","pulls_url":"https://api.github.com/repos/odlgroup/odl/pulls{/number}","milestones_url":"https://api.github.com/repos/odlgroup/odl/milestones{/number}","notifications_url":"https://api.github.com/repos/odlgroup/odl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odlgroup/odl/labels{/name}","releases_url":"https://api.github.com/repos/odlgroup/odl/releases{/id}","deployments_url":"https://api.github.com/repos/odlgroup/odl/deployments","created_at":"2015-11-05T07:57:55Z","updated_at":"2016-02-03T10:05:06Z","pushed_at":"2016-02-16T17:50:53Z","git_url":"git://github.com/odlgroup/odl.git","ssh_url":"git@github.com:odlgroup/odl.git","clone_url":"https://github.com/odlgroup/odl.git","svn_url":"https://github.com/odlgroup/odl","homepage":null,"size":15094,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":77,"forks":3,"open_issues":77,"watchers":3,"default_branch":"master"}},"base":{"label":"odlgroup:master","ref":"master","sha":"11e8a650d314930d646e3e38d0436c3551220100","user":{"login":"odlgroup","id":15667171,"avatar_url":"https://avatars.githubusercontent.com/u/15667171?v=3","gravatar_id":"","url":"https://api.github.com/users/odlgroup","html_url":"https://github.com/odlgroup","followers_url":"https://api.github.com/users/odlgroup/followers","following_url":"https://api.github.com/users/odlgroup/following{/other_user}","gists_url":"https://api.github.com/users/odlgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/odlgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odlgroup/subscriptions","organizations_url":"https://api.github.com/users/odlgroup/orgs","repos_url":"https://api.github.com/users/odlgroup/repos","events_url":"https://api.github.com/users/odlgroup/events{/privacy}","received_events_url":"https://api.github.com/users/odlgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":45596393,"name":"odl","full_name":"odlgroup/odl","owner":{"login":"odlgroup","id":15667171,"avatar_url":"https://avatars.githubusercontent.com/u/15667171?v=3","gravatar_id":"","url":"https://api.github.com/users/odlgroup","html_url":"https://github.com/odlgroup","followers_url":"https://api.github.com/users/odlgroup/followers","following_url":"https://api.github.com/users/odlgroup/following{/other_user}","gists_url":"https://api.github.com/users/odlgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/odlgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odlgroup/subscriptions","organizations_url":"https://api.github.com/users/odlgroup/orgs","repos_url":"https://api.github.com/users/odlgroup/repos","events_url":"https://api.github.com/users/odlgroup/events{/privacy}","received_events_url":"https://api.github.com/users/odlgroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odlgroup/odl","description":"Operator Discretization Library","fork":false,"url":"https://api.github.com/repos/odlgroup/odl","forks_url":"https://api.github.com/repos/odlgroup/odl/forks","keys_url":"https://api.github.com/repos/odlgroup/odl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odlgroup/odl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odlgroup/odl/teams","hooks_url":"https://api.github.com/repos/odlgroup/odl/hooks","issue_events_url":"https://api.github.com/repos/odlgroup/odl/issues/events{/number}","events_url":"https://api.github.com/repos/odlgroup/odl/events","assignees_url":"https://api.github.com/repos/odlgroup/odl/assignees{/user}","branches_url":"https://api.github.com/repos/odlgroup/odl/branches{/branch}","tags_url":"https://api.github.com/repos/odlgroup/odl/tags","blobs_url":"https://api.github.com/repos/odlgroup/odl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odlgroup/odl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odlgroup/odl/git/refs{/sha}","trees_url":"https://api.github.com/repos/odlgroup/odl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odlgroup/odl/statuses/{sha}","languages_url":"https://api.github.com/repos/odlgroup/odl/languages","stargazers_url":"https://api.github.com/repos/odlgroup/odl/stargazers","contributors_url":"https://api.github.com/repos/odlgroup/odl/contributors","subscribers_url":"https://api.github.com/repos/odlgroup/odl/subscribers","subscription_url":"https://api.github.com/repos/odlgroup/odl/subscription","commits_url":"https://api.github.com/repos/odlgroup/odl/commits{/sha}","git_commits_url":"https://api.github.com/repos/odlgroup/odl/git/commits{/sha}","comments_url":"https://api.github.com/repos/odlgroup/odl/comments{/number}","issue_comment_url":"https://api.github.com/repos/odlgroup/odl/issues/comments{/number}","contents_url":"https://api.github.com/repos/odlgroup/odl/contents/{+path}","compare_url":"https://api.github.com/repos/odlgroup/odl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odlgroup/odl/merges","archive_url":"https://api.github.com/repos/odlgroup/odl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odlgroup/odl/downloads","issues_url":"https://api.github.com/repos/odlgroup/odl/issues{/number}","pulls_url":"https://api.github.com/repos/odlgroup/odl/pulls{/number}","milestones_url":"https://api.github.com/repos/odlgroup/odl/milestones{/number}","notifications_url":"https://api.github.com/repos/odlgroup/odl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odlgroup/odl/labels{/name}","releases_url":"https://api.github.com/repos/odlgroup/odl/releases{/id}","deployments_url":"https://api.github.com/repos/odlgroup/odl/deployments","created_at":"2015-11-05T07:57:55Z","updated_at":"2016-02-03T10:05:06Z","pushed_at":"2016-02-16T17:50:53Z","git_url":"git://github.com/odlgroup/odl.git","ssh_url":"git@github.com:odlgroup/odl.git","clone_url":"https://github.com/odlgroup/odl.git","svn_url":"https://github.com/odlgroup/odl","homepage":null,"size":15094,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":77,"forks":3,"open_issues":77,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/odlgroup/odl/pulls/230"},"html":{"href":"https://github.com/odlgroup/odl/pull/230"},"issue":{"href":"https://api.github.com/repos/odlgroup/odl/issues/230"},"comments":{"href":"https://api.github.com/repos/odlgroup/odl/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/odlgroup/odl/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/odlgroup/odl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odlgroup/odl/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/odlgroup/odl/statuses/6d04d46295146cdac743d635044c7442dca625cc"}}}}