{"action":"created","comment":{"url":"https://api.github.com/repos/nipy/dipy/pulls/comments/67506097","id":67506097,"diff_hunk":"@@ -0,0 +1,76 @@\n+import math\n+import numpy as np\n+from dipy.core import wavelet\n+\n+\n+def ascm(ima, fimau, fimao, h):\n+    '''\n+    Adaptive Soft Coefficient Matching","path":"dipy/denoise/ascm.py","position":8,"original_position":8,"commit_id":"b8e9ebe38b35e7f1e4ba2cfb7317011daee089ce","original_commit_id":"b8e9ebe38b35e7f1e4ba2cfb7317011daee089ce","user":{"login":"Garyfallidis","id":134276,"avatar_url":"https://avatars.githubusercontent.com/u/134276?v=3","gravatar_id":"","url":"https://api.github.com/users/Garyfallidis","html_url":"https://github.com/Garyfallidis","followers_url":"https://api.github.com/users/Garyfallidis/followers","following_url":"https://api.github.com/users/Garyfallidis/following{/other_user}","gists_url":"https://api.github.com/users/Garyfallidis/gists{/gist_id}","starred_url":"https://api.github.com/users/Garyfallidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garyfallidis/subscriptions","organizations_url":"https://api.github.com/users/Garyfallidis/orgs","repos_url":"https://api.github.com/users/Garyfallidis/repos","events_url":"https://api.github.com/users/Garyfallidis/events{/privacy}","received_events_url":"https://api.github.com/users/Garyfallidis/received_events","type":"User","site_admin":false},"body":"Start from the first line of docstring.","created_at":"2016-06-17T13:01:35Z","updated_at":"2016-06-17T13:01:35Z","html_url":"https://github.com/nipy/dipy/pull/1066#discussion_r67506097","pull_request_url":"https://api.github.com/repos/nipy/dipy/pulls/1066","_links":{"self":{"href":"https://api.github.com/repos/nipy/dipy/pulls/comments/67506097"},"html":{"href":"https://github.com/nipy/dipy/pull/1066#discussion_r67506097"},"pull_request":{"href":"https://api.github.com/repos/nipy/dipy/pulls/1066"}}},"pull_request":{"url":"https://api.github.com/repos/nipy/dipy/pulls/1066","id":71802667,"html_url":"https://github.com/nipy/dipy/pull/1066","diff_url":"https://github.com/nipy/dipy/pull/1066.diff","patch_url":"https://github.com/nipy/dipy/pull/1066.patch","issue_url":"https://api.github.com/repos/nipy/dipy/issues/1066","number":1066,"state":"open","locked":false,"title":"WIP: Adaptive Denoising","user":{"login":"riddhishb","id":7941975,"avatar_url":"https://avatars.githubusercontent.com/u/7941975?v=3","gravatar_id":"","url":"https://api.github.com/users/riddhishb","html_url":"https://github.com/riddhishb","followers_url":"https://api.github.com/users/riddhishb/followers","following_url":"https://api.github.com/users/riddhishb/following{/other_user}","gists_url":"https://api.github.com/users/riddhishb/gists{/gist_id}","starred_url":"https://api.github.com/users/riddhishb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riddhishb/subscriptions","organizations_url":"https://api.github.com/users/riddhishb/orgs","repos_url":"https://api.github.com/users/riddhishb/repos","events_url":"https://api.github.com/users/riddhishb/events{/privacy}","received_events_url":"https://api.github.com/users/riddhishb/received_events","type":"User","site_admin":false},"body":"This branch is for adaptive denoising, currently includes\r\n\r\n1) nlmeans_block.pyx \r\nfor adding a blockwise averaging approach in nlmeans\r\n2) wavelet.py in dipy.core\r\n3) ascm.py\r\nAdaptive soft coefficient matching based denoising\r\n\r\nI have also added the keyword to toggle between current voxelwise implementation of nlmeans and the proposed blockwise one.\r\n\r\nI am yet to add tests and some examples.","created_at":"2016-05-28T14:00:40Z","updated_at":"2016-06-17T13:01:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0f2511d55f426c6d46e529f991291343a9da8aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nipy/dipy/pulls/1066/commits","review_comments_url":"https://api.github.com/repos/nipy/dipy/pulls/1066/comments","review_comment_url":"https://api.github.com/repos/nipy/dipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/dipy/issues/1066/comments","statuses_url":"https://api.github.com/repos/nipy/dipy/statuses/b8e9ebe38b35e7f1e4ba2cfb7317011daee089ce","head":{"label":"riddhishb:adap_denoise","ref":"adap_denoise","sha":"b8e9ebe38b35e7f1e4ba2cfb7317011daee089ce","user":{"login":"riddhishb","id":7941975,"avatar_url":"https://avatars.githubusercontent.com/u/7941975?v=3","gravatar_id":"","url":"https://api.github.com/users/riddhishb","html_url":"https://github.com/riddhishb","followers_url":"https://api.github.com/users/riddhishb/followers","following_url":"https://api.github.com/users/riddhishb/following{/other_user}","gists_url":"https://api.github.com/users/riddhishb/gists{/gist_id}","starred_url":"https://api.github.com/users/riddhishb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riddhishb/subscriptions","organizations_url":"https://api.github.com/users/riddhishb/orgs","repos_url":"https://api.github.com/users/riddhishb/repos","events_url":"https://api.github.com/users/riddhishb/events{/privacy}","received_events_url":"https://api.github.com/users/riddhishb/received_events","type":"User","site_admin":false},"repo":{"id":53270078,"name":"dipy","full_name":"riddhishb/dipy","owner":{"login":"riddhishb","id":7941975,"avatar_url":"https://avatars.githubusercontent.com/u/7941975?v=3","gravatar_id":"","url":"https://api.github.com/users/riddhishb","html_url":"https://github.com/riddhishb","followers_url":"https://api.github.com/users/riddhishb/followers","following_url":"https://api.github.com/users/riddhishb/following{/other_user}","gists_url":"https://api.github.com/users/riddhishb/gists{/gist_id}","starred_url":"https://api.github.com/users/riddhishb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riddhishb/subscriptions","organizations_url":"https://api.github.com/users/riddhishb/orgs","repos_url":"https://api.github.com/users/riddhishb/repos","events_url":"https://api.github.com/users/riddhishb/events{/privacy}","received_events_url":"https://api.github.com/users/riddhishb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/riddhishb/dipy","description":"Diffusion MR Imaging in Python","fork":true,"url":"https://api.github.com/repos/riddhishb/dipy","forks_url":"https://api.github.com/repos/riddhishb/dipy/forks","keys_url":"https://api.github.com/repos/riddhishb/dipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riddhishb/dipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riddhishb/dipy/teams","hooks_url":"https://api.github.com/repos/riddhishb/dipy/hooks","issue_events_url":"https://api.github.com/repos/riddhishb/dipy/issues/events{/number}","events_url":"https://api.github.com/repos/riddhishb/dipy/events","assignees_url":"https://api.github.com/repos/riddhishb/dipy/assignees{/user}","branches_url":"https://api.github.com/repos/riddhishb/dipy/branches{/branch}","tags_url":"https://api.github.com/repos/riddhishb/dipy/tags","blobs_url":"https://api.github.com/repos/riddhishb/dipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riddhishb/dipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riddhishb/dipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/riddhishb/dipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riddhishb/dipy/statuses/{sha}","languages_url":"https://api.github.com/repos/riddhishb/dipy/languages","stargazers_url":"https://api.github.com/repos/riddhishb/dipy/stargazers","contributors_url":"https://api.github.com/repos/riddhishb/dipy/contributors","subscribers_url":"https://api.github.com/repos/riddhishb/dipy/subscribers","subscription_url":"https://api.github.com/repos/riddhishb/dipy/subscription","commits_url":"https://api.github.com/repos/riddhishb/dipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/riddhishb/dipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/riddhishb/dipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/riddhishb/dipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/riddhishb/dipy/contents/{+path}","compare_url":"https://api.github.com/repos/riddhishb/dipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riddhishb/dipy/merges","archive_url":"https://api.github.com/repos/riddhishb/dipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riddhishb/dipy/downloads","issues_url":"https://api.github.com/repos/riddhishb/dipy/issues{/number}","pulls_url":"https://api.github.com/repos/riddhishb/dipy/pulls{/number}","milestones_url":"https://api.github.com/repos/riddhishb/dipy/milestones{/number}","notifications_url":"https://api.github.com/repos/riddhishb/dipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riddhishb/dipy/labels{/name}","releases_url":"https://api.github.com/repos/riddhishb/dipy/releases{/id}","deployments_url":"https://api.github.com/repos/riddhishb/dipy/deployments","created_at":"2016-03-06T18:41:58Z","updated_at":"2016-03-06T18:42:01Z","pushed_at":"2016-06-14T09:38:30Z","git_url":"git://github.com/riddhishb/dipy.git","ssh_url":"git@github.com:riddhishb/dipy.git","clone_url":"https://github.com/riddhishb/dipy.git","svn_url":"https://github.com/riddhishb/dipy","homepage":"http://dipy.org","size":30251,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"nipy:master","ref":"master","sha":"9a9a4ecfae9c2717cf7c2b666e46c0a9e3994634","user":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":505209,"name":"dipy","full_name":"nipy/dipy","owner":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nipy/dipy","description":"Diffusion MR Imaging in Python","fork":false,"url":"https://api.github.com/repos/nipy/dipy","forks_url":"https://api.github.com/repos/nipy/dipy/forks","keys_url":"https://api.github.com/repos/nipy/dipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/dipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/dipy/teams","hooks_url":"https://api.github.com/repos/nipy/dipy/hooks","issue_events_url":"https://api.github.com/repos/nipy/dipy/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/dipy/events","assignees_url":"https://api.github.com/repos/nipy/dipy/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/dipy/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/dipy/tags","blobs_url":"https://api.github.com/repos/nipy/dipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/dipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/dipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/dipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/dipy/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/dipy/languages","stargazers_url":"https://api.github.com/repos/nipy/dipy/stargazers","contributors_url":"https://api.github.com/repos/nipy/dipy/contributors","subscribers_url":"https://api.github.com/repos/nipy/dipy/subscribers","subscription_url":"https://api.github.com/repos/nipy/dipy/subscription","commits_url":"https://api.github.com/repos/nipy/dipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/dipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/dipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/dipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/nipy/dipy/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/dipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/dipy/merges","archive_url":"https://api.github.com/repos/nipy/dipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/dipy/downloads","issues_url":"https://api.github.com/repos/nipy/dipy/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/dipy/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/dipy/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/dipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/dipy/labels{/name}","releases_url":"https://api.github.com/repos/nipy/dipy/releases{/id}","deployments_url":"https://api.github.com/repos/nipy/dipy/deployments","created_at":"2010-02-06T11:43:08Z","updated_at":"2016-05-30T10:45:21Z","pushed_at":"2016-06-16T21:34:55Z","git_url":"git://github.com/nipy/dipy.git","ssh_url":"git@github.com:nipy/dipy.git","clone_url":"https://github.com/nipy/dipy.git","svn_url":"https://github.com/nipy/dipy","homepage":"http://dipy.org","size":40760,"stargazers_count":90,"watchers_count":90,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":134,"mirror_url":null,"open_issues_count":146,"forks":134,"open_issues":146,"watchers":90,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/dipy/pulls/1066"},"html":{"href":"https://github.com/nipy/dipy/pull/1066"},"issue":{"href":"https://api.github.com/repos/nipy/dipy/issues/1066"},"comments":{"href":"https://api.github.com/repos/nipy/dipy/issues/1066/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/dipy/pulls/1066/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/dipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/dipy/pulls/1066/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/dipy/statuses/b8e9ebe38b35e7f1e4ba2cfb7317011daee089ce"}}}}
{"actor":{"display_login":"Garyfallidis"}}