{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/comments/46151205","id":46151205,"diff_hunk":"@@ -385,3 +391,100 @@ def compton(x, compton_amplitude, coherent_sct_energy,\n     counts += value\n \n     return counts\n+\n+\n+def gamma_dist(bin_values, K, M):","path":"skxray/core/fitting/lineshapes.py","position":19,"original_position":19,"commit_id":"8227c209de4128e564bb010de7e2aefa5d3a7521","original_commit_id":"8227c209de4128e564bb010de7e2aefa5d3a7521","user":{"login":"ericdill","id":6223243,"avatar_url":"https://avatars.githubusercontent.com/u/6223243?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdill","html_url":"https://github.com/ericdill","followers_url":"https://api.github.com/users/ericdill/followers","following_url":"https://api.github.com/users/ericdill/following{/other_user}","gists_url":"https://api.github.com/users/ericdill/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdill/subscriptions","organizations_url":"https://api.github.com/users/ericdill/orgs","repos_url":"https://api.github.com/users/ericdill/repos","events_url":"https://api.github.com/users/ericdill/events{/privacy}","received_events_url":"https://api.github.com/users/ericdill/received_events","type":"User","site_admin":false},"body":"is it important that `K` and `M` are capitalized?","created_at":"2015-11-30T14:50:10Z","updated_at":"2015-11-30T14:50:10Z","html_url":"https://github.com/scikit-xray/scikit-xray/pull/348#discussion_r46151205","pull_request_url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348","_links":{"self":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/comments/46151205"},"html":{"href":"https://github.com/scikit-xray/scikit-xray/pull/348#discussion_r46151205"},"pull_request":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348","id":51569150,"html_url":"https://github.com/scikit-xray/scikit-xray/pull/348","diff_url":"https://github.com/scikit-xray/scikit-xray/pull/348.diff","patch_url":"https://github.com/scikit-xray/scikit-xray/pull/348.patch","issue_url":"https://api.github.com/repos/scikit-xray/scikit-xray/issues/348","number":348,"state":"open","locked":false,"title":"Fitting functions for XSVS","user":{"login":"sameera2004","id":5701652,"avatar_url":"https://avatars.githubusercontent.com/u/5701652?v=3","gravatar_id":"","url":"https://api.github.com/users/sameera2004","html_url":"https://github.com/sameera2004","followers_url":"https://api.github.com/users/sameera2004/followers","following_url":"https://api.github.com/users/sameera2004/following{/other_user}","gists_url":"https://api.github.com/users/sameera2004/gists{/gist_id}","starred_url":"https://api.github.com/users/sameera2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameera2004/subscriptions","organizations_url":"https://api.github.com/users/sameera2004/orgs","repos_url":"https://api.github.com/users/sameera2004/repos","events_url":"https://api.github.com/users/sameera2004/events{/privacy}","received_events_url":"https://api.github.com/users/sameera2004/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-23T19:35:18Z","updated_at":"2015-11-30T14:50:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b0492f03d9bc9ada9e879d0f8dae723b11b2cbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348/commits","review_comments_url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348/comments","review_comment_url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scikit-xray/scikit-xray/issues/348/comments","statuses_url":"https://api.github.com/repos/scikit-xray/scikit-xray/statuses/8227c209de4128e564bb010de7e2aefa5d3a7521","head":{"label":"sameera2004:xsvs_fit_scipy","ref":"xsvs_fit_scipy","sha":"8227c209de4128e564bb010de7e2aefa5d3a7521","user":{"login":"sameera2004","id":5701652,"avatar_url":"https://avatars.githubusercontent.com/u/5701652?v=3","gravatar_id":"","url":"https://api.github.com/users/sameera2004","html_url":"https://github.com/sameera2004","followers_url":"https://api.github.com/users/sameera2004/followers","following_url":"https://api.github.com/users/sameera2004/following{/other_user}","gists_url":"https://api.github.com/users/sameera2004/gists{/gist_id}","starred_url":"https://api.github.com/users/sameera2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameera2004/subscriptions","organizations_url":"https://api.github.com/users/sameera2004/orgs","repos_url":"https://api.github.com/users/sameera2004/repos","events_url":"https://api.github.com/users/sameera2004/events{/privacy}","received_events_url":"https://api.github.com/users/sameera2004/received_events","type":"User","site_admin":false},"repo":{"id":21700905,"name":"scikit-xray","full_name":"sameera2004/scikit-xray","owner":{"login":"sameera2004","id":5701652,"avatar_url":"https://avatars.githubusercontent.com/u/5701652?v=3","gravatar_id":"","url":"https://api.github.com/users/sameera2004","html_url":"https://github.com/sameera2004","followers_url":"https://api.github.com/users/sameera2004/followers","following_url":"https://api.github.com/users/sameera2004/following{/other_user}","gists_url":"https://api.github.com/users/sameera2004/gists{/gist_id}","starred_url":"https://api.github.com/users/sameera2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameera2004/subscriptions","organizations_url":"https://api.github.com/users/sameera2004/orgs","repos_url":"https://api.github.com/users/sameera2004/repos","events_url":"https://api.github.com/users/sameera2004/events{/privacy}","received_events_url":"https://api.github.com/users/sameera2004/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sameera2004/scikit-xray","description":"Core repository for tools at NSLS-II","fork":true,"url":"https://api.github.com/repos/sameera2004/scikit-xray","forks_url":"https://api.github.com/repos/sameera2004/scikit-xray/forks","keys_url":"https://api.github.com/repos/sameera2004/scikit-xray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sameera2004/scikit-xray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sameera2004/scikit-xray/teams","hooks_url":"https://api.github.com/repos/sameera2004/scikit-xray/hooks","issue_events_url":"https://api.github.com/repos/sameera2004/scikit-xray/issues/events{/number}","events_url":"https://api.github.com/repos/sameera2004/scikit-xray/events","assignees_url":"https://api.github.com/repos/sameera2004/scikit-xray/assignees{/user}","branches_url":"https://api.github.com/repos/sameera2004/scikit-xray/branches{/branch}","tags_url":"https://api.github.com/repos/sameera2004/scikit-xray/tags","blobs_url":"https://api.github.com/repos/sameera2004/scikit-xray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sameera2004/scikit-xray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sameera2004/scikit-xray/git/refs{/sha}","trees_url":"https://api.github.com/repos/sameera2004/scikit-xray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sameera2004/scikit-xray/statuses/{sha}","languages_url":"https://api.github.com/repos/sameera2004/scikit-xray/languages","stargazers_url":"https://api.github.com/repos/sameera2004/scikit-xray/stargazers","contributors_url":"https://api.github.com/repos/sameera2004/scikit-xray/contributors","subscribers_url":"https://api.github.com/repos/sameera2004/scikit-xray/subscribers","subscription_url":"https://api.github.com/repos/sameera2004/scikit-xray/subscription","commits_url":"https://api.github.com/repos/sameera2004/scikit-xray/commits{/sha}","git_commits_url":"https://api.github.com/repos/sameera2004/scikit-xray/git/commits{/sha}","comments_url":"https://api.github.com/repos/sameera2004/scikit-xray/comments{/number}","issue_comment_url":"https://api.github.com/repos/sameera2004/scikit-xray/issues/comments{/number}","contents_url":"https://api.github.com/repos/sameera2004/scikit-xray/contents/{+path}","compare_url":"https://api.github.com/repos/sameera2004/scikit-xray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sameera2004/scikit-xray/merges","archive_url":"https://api.github.com/repos/sameera2004/scikit-xray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sameera2004/scikit-xray/downloads","issues_url":"https://api.github.com/repos/sameera2004/scikit-xray/issues{/number}","pulls_url":"https://api.github.com/repos/sameera2004/scikit-xray/pulls{/number}","milestones_url":"https://api.github.com/repos/sameera2004/scikit-xray/milestones{/number}","notifications_url":"https://api.github.com/repos/sameera2004/scikit-xray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sameera2004/scikit-xray/labels{/name}","releases_url":"https://api.github.com/repos/sameera2004/scikit-xray/releases{/id}","created_at":"2014-07-10T16:10:03Z","updated_at":"2015-06-17T14:01:33Z","pushed_at":"2015-11-25T15:02:28Z","git_url":"git://github.com/sameera2004/scikit-xray.git","ssh_url":"git@github.com:sameera2004/scikit-xray.git","clone_url":"https://github.com/sameera2004/scikit-xray.git","svn_url":"https://github.com/sameera2004/scikit-xray","homepage":"","size":2223,"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":"scikit-xray:master","ref":"master","sha":"7d6d0b5919d48df4b9f733c3112b344135eab701","user":{"login":"scikit-xray","id":13370180,"avatar_url":"https://avatars.githubusercontent.com/u/13370180?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-xray","html_url":"https://github.com/scikit-xray","followers_url":"https://api.github.com/users/scikit-xray/followers","following_url":"https://api.github.com/users/scikit-xray/following{/other_user}","gists_url":"https://api.github.com/users/scikit-xray/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-xray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-xray/subscriptions","organizations_url":"https://api.github.com/users/scikit-xray/orgs","repos_url":"https://api.github.com/users/scikit-xray/repos","events_url":"https://api.github.com/users/scikit-xray/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-xray/received_events","type":"Organization","site_admin":false},"repo":{"id":21679569,"name":"scikit-xray","full_name":"scikit-xray/scikit-xray","owner":{"login":"scikit-xray","id":13370180,"avatar_url":"https://avatars.githubusercontent.com/u/13370180?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-xray","html_url":"https://github.com/scikit-xray","followers_url":"https://api.github.com/users/scikit-xray/followers","following_url":"https://api.github.com/users/scikit-xray/following{/other_user}","gists_url":"https://api.github.com/users/scikit-xray/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-xray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-xray/subscriptions","organizations_url":"https://api.github.com/users/scikit-xray/orgs","repos_url":"https://api.github.com/users/scikit-xray/repos","events_url":"https://api.github.com/users/scikit-xray/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-xray/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scikit-xray/scikit-xray","description":"Data analysis tools for X-ray science","fork":false,"url":"https://api.github.com/repos/scikit-xray/scikit-xray","forks_url":"https://api.github.com/repos/scikit-xray/scikit-xray/forks","keys_url":"https://api.github.com/repos/scikit-xray/scikit-xray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scikit-xray/scikit-xray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scikit-xray/scikit-xray/teams","hooks_url":"https://api.github.com/repos/scikit-xray/scikit-xray/hooks","issue_events_url":"https://api.github.com/repos/scikit-xray/scikit-xray/issues/events{/number}","events_url":"https://api.github.com/repos/scikit-xray/scikit-xray/events","assignees_url":"https://api.github.com/repos/scikit-xray/scikit-xray/assignees{/user}","branches_url":"https://api.github.com/repos/scikit-xray/scikit-xray/branches{/branch}","tags_url":"https://api.github.com/repos/scikit-xray/scikit-xray/tags","blobs_url":"https://api.github.com/repos/scikit-xray/scikit-xray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scikit-xray/scikit-xray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scikit-xray/scikit-xray/git/refs{/sha}","trees_url":"https://api.github.com/repos/scikit-xray/scikit-xray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scikit-xray/scikit-xray/statuses/{sha}","languages_url":"https://api.github.com/repos/scikit-xray/scikit-xray/languages","stargazers_url":"https://api.github.com/repos/scikit-xray/scikit-xray/stargazers","contributors_url":"https://api.github.com/repos/scikit-xray/scikit-xray/contributors","subscribers_url":"https://api.github.com/repos/scikit-xray/scikit-xray/subscribers","subscription_url":"https://api.github.com/repos/scikit-xray/scikit-xray/subscription","commits_url":"https://api.github.com/repos/scikit-xray/scikit-xray/commits{/sha}","git_commits_url":"https://api.github.com/repos/scikit-xray/scikit-xray/git/commits{/sha}","comments_url":"https://api.github.com/repos/scikit-xray/scikit-xray/comments{/number}","issue_comment_url":"https://api.github.com/repos/scikit-xray/scikit-xray/issues/comments{/number}","contents_url":"https://api.github.com/repos/scikit-xray/scikit-xray/contents/{+path}","compare_url":"https://api.github.com/repos/scikit-xray/scikit-xray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scikit-xray/scikit-xray/merges","archive_url":"https://api.github.com/repos/scikit-xray/scikit-xray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scikit-xray/scikit-xray/downloads","issues_url":"https://api.github.com/repos/scikit-xray/scikit-xray/issues{/number}","pulls_url":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls{/number}","milestones_url":"https://api.github.com/repos/scikit-xray/scikit-xray/milestones{/number}","notifications_url":"https://api.github.com/repos/scikit-xray/scikit-xray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scikit-xray/scikit-xray/labels{/name}","releases_url":"https://api.github.com/repos/scikit-xray/scikit-xray/releases{/id}","created_at":"2014-07-10T04:44:35Z","updated_at":"2015-11-27T23:24:17Z","pushed_at":"2015-11-30T14:33:40Z","git_url":"git://github.com/scikit-xray/scikit-xray.git","ssh_url":"git@github.com:scikit-xray/scikit-xray.git","clone_url":"https://github.com/scikit-xray/scikit-xray.git","svn_url":"https://github.com/scikit-xray/scikit-xray","homepage":"","size":51422,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":114,"forks":20,"open_issues":114,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348"},"html":{"href":"https://github.com/scikit-xray/scikit-xray/pull/348"},"issue":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/issues/348"},"comments":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/issues/348/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348/comments"},"review_comment":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/pulls/348/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-xray/scikit-xray/statuses/8227c209de4128e564bb010de7e2aefa5d3a7521"}}}}