{"action":"created","comment":{"url":"https://api.github.com/repos/nipy/dipy/pulls/comments/30993861","id":30993861,"diff_hunk":"@@ -1219,10 +1219,10 @@ cdef double _compute_mattes_mi(double[:, :] joint,\n \n             if mi_gradient is not None:\n                 for k in range(n):\n-                    mi_gradient[k] -= joint_gradient[i, j, k] * factor","path":"dipy/align/mattes.pyx","position":23,"original_position":4,"commit_id":"926f91f553bdf993ea8cb494ffd9c3b2bcdfabd4","original_commit_id":"5dae807c8f2cf5a9f873ab66329af0d0dc1a94df","user":{"login":"arokem","id":118582,"avatar_url":"https://avatars.githubusercontent.com/u/118582?v=3","gravatar_id":"","url":"https://api.github.com/users/arokem","html_url":"https://github.com/arokem","followers_url":"https://api.github.com/users/arokem/followers","following_url":"https://api.github.com/users/arokem/following{/other_user}","gists_url":"https://api.github.com/users/arokem/gists{/gist_id}","starred_url":"https://api.github.com/users/arokem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arokem/subscriptions","organizations_url":"https://api.github.com/users/arokem/orgs","repos_url":"https://api.github.com/users/arokem/repos","events_url":"https://api.github.com/users/arokem/events{/privacy}","received_events_url":"https://api.github.com/users/arokem/received_events","type":"User","site_admin":false},"body":"That's the `-1 *` on line 258 of `immafine.py`? Just making sure that I understand this. Is it worth adding  comment here, so that we don't forget?","created_at":"2015-05-25T20:37:25Z","updated_at":"2015-05-25T20:37:25Z","html_url":"https://github.com/nipy/dipy/pull/654#discussion_r30993861","pull_request_url":"https://api.github.com/repos/nipy/dipy/pulls/654","_links":{"self":{"href":"https://api.github.com/repos/nipy/dipy/pulls/comments/30993861"},"html":{"href":"https://github.com/nipy/dipy/pull/654#discussion_r30993861"},"pull_request":{"href":"https://api.github.com/repos/nipy/dipy/pulls/654"}}},"pull_request":{"url":"https://api.github.com/repos/nipy/dipy/pulls/654","id":36107993,"html_url":"https://github.com/nipy/dipy/pull/654","diff_url":"https://github.com/nipy/dipy/pull/654.diff","patch_url":"https://github.com/nipy/dipy/pull/654.patch","issue_url":"https://api.github.com/repos/nipy/dipy/issues/654","number":654,"state":"open","locked":false,"title":"Affine registration PR 3/3","user":{"login":"omarocegueda","id":1608583,"avatar_url":"https://avatars.githubusercontent.com/u/1608583?v=3","gravatar_id":"","url":"https://api.github.com/users/omarocegueda","html_url":"https://github.com/omarocegueda","followers_url":"https://api.github.com/users/omarocegueda/followers","following_url":"https://api.github.com/users/omarocegueda/following{/other_user}","gists_url":"https://api.github.com/users/omarocegueda/gists{/gist_id}","starred_url":"https://api.github.com/users/omarocegueda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarocegueda/subscriptions","organizations_url":"https://api.github.com/users/omarocegueda/orgs","repos_url":"https://api.github.com/users/omarocegueda/repos","events_url":"https://api.github.com/users/omarocegueda/events{/privacy}","received_events_url":"https://api.github.com/users/omarocegueda/received_events","type":"User","site_admin":false},"body":"This is the last PR of the affine registration series. It also includes a tutorial explaining how to do an ANTS2-like affine registration. The following graph shows the performance of this implementation compared to ANTS2, Flirt and Nipy (all with Mutual Information) using sparse sampling (30% of the voxels).\r\n![results_sparse](https://cloud.githubusercontent.com/assets/1608583/7790523/72a5d0a0-0251-11e5-9923-7e4e1d542653.png)\r\n\r\nWe are still slightly below ANTS2 on some anatomical regions, and this implementation is slower too, the following is the average execution time (over 306 registrations):\r\n(sparse means use 30% of the voxels for PDF estimation)\r\nANTS2 sparse: 11.0 minutes \r\nDipy sparse: 16.8 minutes \r\nFlirt : 4.41 minutes\r\nNipy: 49 seconds","created_at":"2015-05-24T20:31:11Z","updated_at":"2015-05-25T20:37:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a19958a0d8b9a664505d27e96aa50ec06700ab8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nipy/dipy/pulls/654/commits","review_comments_url":"https://api.github.com/repos/nipy/dipy/pulls/654/comments","review_comment_url":"https://api.github.com/repos/nipy/dipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/dipy/issues/654/comments","statuses_url":"https://api.github.com/repos/nipy/dipy/statuses/926f91f553bdf993ea8cb494ffd9c3b2bcdfabd4","head":{"label":"omarocegueda:imaffine_pr3","ref":"imaffine_pr3","sha":"926f91f553bdf993ea8cb494ffd9c3b2bcdfabd4","user":{"login":"omarocegueda","id":1608583,"avatar_url":"https://avatars.githubusercontent.com/u/1608583?v=3","gravatar_id":"","url":"https://api.github.com/users/omarocegueda","html_url":"https://github.com/omarocegueda","followers_url":"https://api.github.com/users/omarocegueda/followers","following_url":"https://api.github.com/users/omarocegueda/following{/other_user}","gists_url":"https://api.github.com/users/omarocegueda/gists{/gist_id}","starred_url":"https://api.github.com/users/omarocegueda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarocegueda/subscriptions","organizations_url":"https://api.github.com/users/omarocegueda/orgs","repos_url":"https://api.github.com/users/omarocegueda/repos","events_url":"https://api.github.com/users/omarocegueda/events{/privacy}","received_events_url":"https://api.github.com/users/omarocegueda/received_events","type":"User","site_admin":false},"repo":{"id":9781072,"name":"dipy","full_name":"omarocegueda/dipy","owner":{"login":"omarocegueda","id":1608583,"avatar_url":"https://avatars.githubusercontent.com/u/1608583?v=3","gravatar_id":"","url":"https://api.github.com/users/omarocegueda","html_url":"https://github.com/omarocegueda","followers_url":"https://api.github.com/users/omarocegueda/followers","following_url":"https://api.github.com/users/omarocegueda/following{/other_user}","gists_url":"https://api.github.com/users/omarocegueda/gists{/gist_id}","starred_url":"https://api.github.com/users/omarocegueda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarocegueda/subscriptions","organizations_url":"https://api.github.com/users/omarocegueda/orgs","repos_url":"https://api.github.com/users/omarocegueda/repos","events_url":"https://api.github.com/users/omarocegueda/events{/privacy}","received_events_url":"https://api.github.com/users/omarocegueda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omarocegueda/dipy","description":"Diffusion MR Imaging in Python","fork":true,"url":"https://api.github.com/repos/omarocegueda/dipy","forks_url":"https://api.github.com/repos/omarocegueda/dipy/forks","keys_url":"https://api.github.com/repos/omarocegueda/dipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omarocegueda/dipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omarocegueda/dipy/teams","hooks_url":"https://api.github.com/repos/omarocegueda/dipy/hooks","issue_events_url":"https://api.github.com/repos/omarocegueda/dipy/issues/events{/number}","events_url":"https://api.github.com/repos/omarocegueda/dipy/events","assignees_url":"https://api.github.com/repos/omarocegueda/dipy/assignees{/user}","branches_url":"https://api.github.com/repos/omarocegueda/dipy/branches{/branch}","tags_url":"https://api.github.com/repos/omarocegueda/dipy/tags","blobs_url":"https://api.github.com/repos/omarocegueda/dipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omarocegueda/dipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omarocegueda/dipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/omarocegueda/dipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omarocegueda/dipy/statuses/{sha}","languages_url":"https://api.github.com/repos/omarocegueda/dipy/languages","stargazers_url":"https://api.github.com/repos/omarocegueda/dipy/stargazers","contributors_url":"https://api.github.com/repos/omarocegueda/dipy/contributors","subscribers_url":"https://api.github.com/repos/omarocegueda/dipy/subscribers","subscription_url":"https://api.github.com/repos/omarocegueda/dipy/subscription","commits_url":"https://api.github.com/repos/omarocegueda/dipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/omarocegueda/dipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/omarocegueda/dipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/omarocegueda/dipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/omarocegueda/dipy/contents/{+path}","compare_url":"https://api.github.com/repos/omarocegueda/dipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omarocegueda/dipy/merges","archive_url":"https://api.github.com/repos/omarocegueda/dipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omarocegueda/dipy/downloads","issues_url":"https://api.github.com/repos/omarocegueda/dipy/issues{/number}","pulls_url":"https://api.github.com/repos/omarocegueda/dipy/pulls{/number}","milestones_url":"https://api.github.com/repos/omarocegueda/dipy/milestones{/number}","notifications_url":"https://api.github.com/repos/omarocegueda/dipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omarocegueda/dipy/labels{/name}","releases_url":"https://api.github.com/repos/omarocegueda/dipy/releases{/id}","created_at":"2013-04-30T22:05:45Z","updated_at":"2015-04-21T20:08:08Z","pushed_at":"2015-05-25T14:50:17Z","git_url":"git://github.com/omarocegueda/dipy.git","ssh_url":"git@github.com:omarocegueda/dipy.git","clone_url":"https://github.com/omarocegueda/dipy.git","svn_url":"https://github.com/omarocegueda/dipy","homepage":"http://dipy.org","size":17132,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"nipy:master","ref":"master","sha":"f035833272fc725a80c68315d811e31f50c8bb52","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}","created_at":"2010-02-06T11:43:08Z","updated_at":"2015-04-30T05:53:35Z","pushed_at":"2015-05-25T17:23:46Z","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":22242,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":82,"forks":90,"open_issues":82,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/dipy/pulls/654"},"html":{"href":"https://github.com/nipy/dipy/pull/654"},"issue":{"href":"https://api.github.com/repos/nipy/dipy/issues/654"},"comments":{"href":"https://api.github.com/repos/nipy/dipy/issues/654/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/dipy/pulls/654/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/dipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/dipy/pulls/654/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/dipy/statuses/926f91f553bdf993ea8cb494ffd9c3b2bcdfabd4"}}}}