{"action":"closed","number":334,"pull_request":{"url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/334","id":87802412,"html_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles/pull/334","diff_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles/pull/334.diff","patch_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles/pull/334.patch","issue_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/334","number":334,"state":"closed","locked":false,"title":"Matching lens galaxies","user":{"login":"drphilmarshall","id":710903,"avatar_url":"https://avatars.githubusercontent.com/u/710903?v=3","gravatar_id":"","url":"https://api.github.com/users/drphilmarshall","html_url":"https://github.com/drphilmarshall","followers_url":"https://api.github.com/users/drphilmarshall/followers","following_url":"https://api.github.com/users/drphilmarshall/following{/other_user}","gists_url":"https://api.github.com/users/drphilmarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/drphilmarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drphilmarshall/subscriptions","organizations_url":"https://api.github.com/users/drphilmarshall/orgs","repos_url":"https://api.github.com/users/drphilmarshall/repos","events_url":"https://api.github.com/users/drphilmarshall/events{/privacy}","received_events_url":"https://api.github.com/users/drphilmarshall/received_events","type":"User","site_admin":false},"body":"In response to issue #310. This PR is not yet ready to be merged, but it'll help me see what's changed. The main functional test is the [MatchingLensGalaxies.ipynb notebook.](https://github.com/DarkEnergyScienceCollaboration/Twinkles/blob/issue/310/match-lenses/examples/notebooks/MatchingLensGalaxies.ipynb)\r\n\r\nThis is looking pretty good so far, Bryce, although I thought we might need 2 or 3 Gaussians instead of just one. Could you please draw a few thousand samples from the GMM, plot them as a corner plot and overlay them with the datapoints, please? We need to make sure our model is generating sensible masses, redshifts and velocity dispersions.","created_at":"2016-10-03T22:19:06Z","updated_at":"2016-10-18T15:31:45Z","closed_at":"2016-10-18T15:31:45Z","merged_at":"2016-10-18T15:31:45Z","merge_commit_sha":"bb4aa8dbe938ffa4207023cfe3873def3541c71a","assignee":{"login":"drphilmarshall","id":710903,"avatar_url":"https://avatars.githubusercontent.com/u/710903?v=3","gravatar_id":"","url":"https://api.github.com/users/drphilmarshall","html_url":"https://github.com/drphilmarshall","followers_url":"https://api.github.com/users/drphilmarshall/followers","following_url":"https://api.github.com/users/drphilmarshall/following{/other_user}","gists_url":"https://api.github.com/users/drphilmarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/drphilmarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drphilmarshall/subscriptions","organizations_url":"https://api.github.com/users/drphilmarshall/orgs","repos_url":"https://api.github.com/users/drphilmarshall/repos","events_url":"https://api.github.com/users/drphilmarshall/events{/privacy}","received_events_url":"https://api.github.com/users/drphilmarshall/received_events","type":"User","site_admin":false},"assignees":[{"login":"drphilmarshall","id":710903,"avatar_url":"https://avatars.githubusercontent.com/u/710903?v=3","gravatar_id":"","url":"https://api.github.com/users/drphilmarshall","html_url":"https://github.com/drphilmarshall","followers_url":"https://api.github.com/users/drphilmarshall/followers","following_url":"https://api.github.com/users/drphilmarshall/following{/other_user}","gists_url":"https://api.github.com/users/drphilmarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/drphilmarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drphilmarshall/subscriptions","organizations_url":"https://api.github.com/users/drphilmarshall/orgs","repos_url":"https://api.github.com/users/drphilmarshall/repos","events_url":"https://api.github.com/users/drphilmarshall/events{/privacy}","received_events_url":"https://api.github.com/users/drphilmarshall/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/334/commits","review_comments_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/334/comments","review_comment_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/334/comments","statuses_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/statuses/9f5c2d28a804f5bcadbded7b1b7e647eab4cf766","head":{"label":"DarkEnergyScienceCollaboration:issue/310/match-lenses","ref":"issue/310/match-lenses","sha":"9f5c2d28a804f5bcadbded7b1b7e647eab4cf766","user":{"login":"DarkEnergyScienceCollaboration","id":2731443,"avatar_url":"https://avatars.githubusercontent.com/u/2731443?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkEnergyScienceCollaboration","html_url":"https://github.com/DarkEnergyScienceCollaboration","followers_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/followers","following_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/following{/other_user}","gists_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/subscriptions","organizations_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/orgs","repos_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/repos","events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/events{/privacy}","received_events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/received_events","type":"Organization","site_admin":false},"repo":{"id":25598726,"name":"Twinkles","full_name":"DarkEnergyScienceCollaboration/Twinkles","owner":{"login":"DarkEnergyScienceCollaboration","id":2731443,"avatar_url":"https://avatars.githubusercontent.com/u/2731443?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkEnergyScienceCollaboration","html_url":"https://github.com/DarkEnergyScienceCollaboration","followers_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/followers","following_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/following{/other_user}","gists_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/subscriptions","organizations_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/orgs","repos_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/repos","events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/events{/privacy}","received_events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles","description":"10 years. 6 filters. 1 tiny patch of sky. Thousands of time-variable cosmological distance probes.","fork":false,"url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles","forks_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/forks","keys_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/teams","hooks_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/hooks","issue_events_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/events{/number}","events_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/events","assignees_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/assignees{/user}","branches_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/branches{/branch}","tags_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/tags","blobs_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/refs{/sha}","trees_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/statuses/{sha}","languages_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/languages","stargazers_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/stargazers","contributors_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/contributors","subscribers_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/subscribers","subscription_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/subscription","commits_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/commits{/sha}","git_commits_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/commits{/sha}","comments_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/comments{/number}","issue_comment_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/comments{/number}","contents_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/contents/{+path}","compare_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/merges","archive_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/downloads","issues_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues{/number}","pulls_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls{/number}","milestones_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/milestones{/number}","notifications_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/labels{/name}","releases_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/releases{/id}","deployments_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/deployments","created_at":"2014-10-22T18:58:04Z","updated_at":"2016-10-18T03:48:29Z","pushed_at":"2016-10-18T15:31:45Z","git_url":"git://github.com/DarkEnergyScienceCollaboration/Twinkles.git","ssh_url":"git@github.com:DarkEnergyScienceCollaboration/Twinkles.git","clone_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles.git","svn_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles","homepage":null,"size":145444,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":97,"forks":12,"open_issues":97,"watchers":9,"default_branch":"master"}},"base":{"label":"DarkEnergyScienceCollaboration:master","ref":"master","sha":"2f33eafe6dc686e4c372c8de5dd3bf5056f522c8","user":{"login":"DarkEnergyScienceCollaboration","id":2731443,"avatar_url":"https://avatars.githubusercontent.com/u/2731443?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkEnergyScienceCollaboration","html_url":"https://github.com/DarkEnergyScienceCollaboration","followers_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/followers","following_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/following{/other_user}","gists_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/subscriptions","organizations_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/orgs","repos_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/repos","events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/events{/privacy}","received_events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/received_events","type":"Organization","site_admin":false},"repo":{"id":25598726,"name":"Twinkles","full_name":"DarkEnergyScienceCollaboration/Twinkles","owner":{"login":"DarkEnergyScienceCollaboration","id":2731443,"avatar_url":"https://avatars.githubusercontent.com/u/2731443?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkEnergyScienceCollaboration","html_url":"https://github.com/DarkEnergyScienceCollaboration","followers_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/followers","following_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/following{/other_user}","gists_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/subscriptions","organizations_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/orgs","repos_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/repos","events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/events{/privacy}","received_events_url":"https://api.github.com/users/DarkEnergyScienceCollaboration/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles","description":"10 years. 6 filters. 1 tiny patch of sky. Thousands of time-variable cosmological distance probes.","fork":false,"url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles","forks_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/forks","keys_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/teams","hooks_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/hooks","issue_events_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/events{/number}","events_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/events","assignees_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/assignees{/user}","branches_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/branches{/branch}","tags_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/tags","blobs_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/refs{/sha}","trees_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/statuses/{sha}","languages_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/languages","stargazers_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/stargazers","contributors_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/contributors","subscribers_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/subscribers","subscription_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/subscription","commits_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/commits{/sha}","git_commits_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/git/commits{/sha}","comments_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/comments{/number}","issue_comment_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/comments{/number}","contents_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/contents/{+path}","compare_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/merges","archive_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/downloads","issues_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues{/number}","pulls_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls{/number}","milestones_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/milestones{/number}","notifications_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/labels{/name}","releases_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/releases{/id}","deployments_url":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/deployments","created_at":"2014-10-22T18:58:04Z","updated_at":"2016-10-18T03:48:29Z","pushed_at":"2016-10-18T15:31:45Z","git_url":"git://github.com/DarkEnergyScienceCollaboration/Twinkles.git","ssh_url":"git@github.com:DarkEnergyScienceCollaboration/Twinkles.git","clone_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles.git","svn_url":"https://github.com/DarkEnergyScienceCollaboration/Twinkles","homepage":null,"size":145444,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":12,"mirror_url":null,"open_issues_count":97,"forks":12,"open_issues":97,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/334"},"html":{"href":"https://github.com/DarkEnergyScienceCollaboration/Twinkles/pull/334"},"issue":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/334"},"comments":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/DarkEnergyScienceCollaboration/Twinkles/statuses/9f5c2d28a804f5bcadbded7b1b7e647eab4cf766"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"drphilmarshall","id":710903,"avatar_url":"https://avatars.githubusercontent.com/u/710903?v=3","gravatar_id":"","url":"https://api.github.com/users/drphilmarshall","html_url":"https://github.com/drphilmarshall","followers_url":"https://api.github.com/users/drphilmarshall/followers","following_url":"https://api.github.com/users/drphilmarshall/following{/other_user}","gists_url":"https://api.github.com/users/drphilmarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/drphilmarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drphilmarshall/subscriptions","organizations_url":"https://api.github.com/users/drphilmarshall/orgs","repos_url":"https://api.github.com/users/drphilmarshall/repos","events_url":"https://api.github.com/users/drphilmarshall/events{/privacy}","received_events_url":"https://api.github.com/users/drphilmarshall/received_events","type":"User","site_admin":false},"comments":12,"review_comments":8,"commits":25,"additions":113,"deletions":445,"changed_files":8}}
{"actor":{"display_login":"drphilmarshall"}}