{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/inanhkn/analysis/pulls/58","id":30797514,"html_url":"https://github.com/inanhkn/analysis/pull/58","diff_url":"https://github.com/inanhkn/analysis/pull/58.diff","patch_url":"https://github.com/inanhkn/analysis/pull/58.patch","issue_url":"https://api.github.com/repos/inanhkn/analysis/issues/58","number":58,"state":"open","locked":false,"title":"Fori/check centroids","user":{"login":"forea","id":4991524,"avatar_url":"https://avatars.githubusercontent.com/u/4991524?v=3","gravatar_id":"","url":"https://api.github.com/users/forea","html_url":"https://github.com/forea","followers_url":"https://api.github.com/users/forea/followers","following_url":"https://api.github.com/users/forea/following{/other_user}","gists_url":"https://api.github.com/users/forea/gists{/gist_id}","starred_url":"https://api.github.com/users/forea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forea/subscriptions","organizations_url":"https://api.github.com/users/forea/orgs","repos_url":"https://api.github.com/users/forea/repos","events_url":"https://api.github.com/users/forea/events{/privacy}","received_events_url":"https://api.github.com/users/forea/received_events","type":"User","site_admin":false},"body":"This function plays the behavior movie for specified trials with centroid plotted on top.\r\n\r\nFeatures:\r\n- Pause in between each trial (black frame)\r\n- Pause on the first frame of each trial, with the first frame's centroid plotted in magenta as opposed to green. This is useful for checking bleed-through across frames (make sure the first centroid of the trial is not at the mouse's position from previous trial's end). Note in future version of mouse tracking this should not be an issue.\r\n\r\nExample screenshot:\r\n![screenshot from 2015-03-09 13 37 24](https://cloud.githubusercontent.com/assets/4991524/6563850/a62b7f14-c661-11e4-83b4-1c7e05d0eec9.png)\r\n","created_at":"2015-03-09T20:39:23Z","updated_at":"2015-03-09T20:39:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inanhkn/analysis/pulls/58/commits","review_comments_url":"https://api.github.com/repos/inanhkn/analysis/pulls/58/comments","review_comment_url":"https://api.github.com/repos/inanhkn/analysis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inanhkn/analysis/issues/58/comments","statuses_url":"https://api.github.com/repos/inanhkn/analysis/statuses/74b18b7c0c839b907a5a7796785bb0a3af2c249d","head":{"label":"inanhkn:fori/check-centroids","ref":"fori/check-centroids","sha":"74b18b7c0c839b907a5a7796785bb0a3af2c249d","user":{"login":"inanhkn","id":5778377,"avatar_url":"https://avatars.githubusercontent.com/u/5778377?v=3","gravatar_id":"","url":"https://api.github.com/users/inanhkn","html_url":"https://github.com/inanhkn","followers_url":"https://api.github.com/users/inanhkn/followers","following_url":"https://api.github.com/users/inanhkn/following{/other_user}","gists_url":"https://api.github.com/users/inanhkn/gists{/gist_id}","starred_url":"https://api.github.com/users/inanhkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inanhkn/subscriptions","organizations_url":"https://api.github.com/users/inanhkn/orgs","repos_url":"https://api.github.com/users/inanhkn/repos","events_url":"https://api.github.com/users/inanhkn/events{/privacy}","received_events_url":"https://api.github.com/users/inanhkn/received_events","type":"User","site_admin":false},"repo":{"id":27896702,"name":"analysis","full_name":"inanhkn/analysis","owner":{"login":"inanhkn","id":5778377,"avatar_url":"https://avatars.githubusercontent.com/u/5778377?v=3","gravatar_id":"","url":"https://api.github.com/users/inanhkn","html_url":"https://github.com/inanhkn","followers_url":"https://api.github.com/users/inanhkn/followers","following_url":"https://api.github.com/users/inanhkn/following{/other_user}","gists_url":"https://api.github.com/users/inanhkn/gists{/gist_id}","starred_url":"https://api.github.com/users/inanhkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inanhkn/subscriptions","organizations_url":"https://api.github.com/users/inanhkn/orgs","repos_url":"https://api.github.com/users/inanhkn/repos","events_url":"https://api.github.com/users/inanhkn/events{/privacy}","received_events_url":"https://api.github.com/users/inanhkn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inanhkn/analysis","description":"","fork":false,"url":"https://api.github.com/repos/inanhkn/analysis","forks_url":"https://api.github.com/repos/inanhkn/analysis/forks","keys_url":"https://api.github.com/repos/inanhkn/analysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inanhkn/analysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inanhkn/analysis/teams","hooks_url":"https://api.github.com/repos/inanhkn/analysis/hooks","issue_events_url":"https://api.github.com/repos/inanhkn/analysis/issues/events{/number}","events_url":"https://api.github.com/repos/inanhkn/analysis/events","assignees_url":"https://api.github.com/repos/inanhkn/analysis/assignees{/user}","branches_url":"https://api.github.com/repos/inanhkn/analysis/branches{/branch}","tags_url":"https://api.github.com/repos/inanhkn/analysis/tags","blobs_url":"https://api.github.com/repos/inanhkn/analysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inanhkn/analysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inanhkn/analysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/inanhkn/analysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inanhkn/analysis/statuses/{sha}","languages_url":"https://api.github.com/repos/inanhkn/analysis/languages","stargazers_url":"https://api.github.com/repos/inanhkn/analysis/stargazers","contributors_url":"https://api.github.com/repos/inanhkn/analysis/contributors","subscribers_url":"https://api.github.com/repos/inanhkn/analysis/subscribers","subscription_url":"https://api.github.com/repos/inanhkn/analysis/subscription","commits_url":"https://api.github.com/repos/inanhkn/analysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/inanhkn/analysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/inanhkn/analysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/inanhkn/analysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/inanhkn/analysis/contents/{+path}","compare_url":"https://api.github.com/repos/inanhkn/analysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inanhkn/analysis/merges","archive_url":"https://api.github.com/repos/inanhkn/analysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inanhkn/analysis/downloads","issues_url":"https://api.github.com/repos/inanhkn/analysis/issues{/number}","pulls_url":"https://api.github.com/repos/inanhkn/analysis/pulls{/number}","milestones_url":"https://api.github.com/repos/inanhkn/analysis/milestones{/number}","notifications_url":"https://api.github.com/repos/inanhkn/analysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inanhkn/analysis/labels{/name}","releases_url":"https://api.github.com/repos/inanhkn/analysis/releases{/id}","created_at":"2014-12-11T23:21:49Z","updated_at":"2015-03-08T01:28:56Z","pushed_at":"2015-03-09T20:24:03Z","git_url":"git://github.com/inanhkn/analysis.git","ssh_url":"git@github.com:inanhkn/analysis.git","clone_url":"https://github.com/inanhkn/analysis.git","svn_url":"https://github.com/inanhkn/analysis","homepage":null,"size":1400,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"inanhkn:master","ref":"master","sha":"dbb1f802b9421830512bf197b0c6bb025022f156","user":{"login":"inanhkn","id":5778377,"avatar_url":"https://avatars.githubusercontent.com/u/5778377?v=3","gravatar_id":"","url":"https://api.github.com/users/inanhkn","html_url":"https://github.com/inanhkn","followers_url":"https://api.github.com/users/inanhkn/followers","following_url":"https://api.github.com/users/inanhkn/following{/other_user}","gists_url":"https://api.github.com/users/inanhkn/gists{/gist_id}","starred_url":"https://api.github.com/users/inanhkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inanhkn/subscriptions","organizations_url":"https://api.github.com/users/inanhkn/orgs","repos_url":"https://api.github.com/users/inanhkn/repos","events_url":"https://api.github.com/users/inanhkn/events{/privacy}","received_events_url":"https://api.github.com/users/inanhkn/received_events","type":"User","site_admin":false},"repo":{"id":27896702,"name":"analysis","full_name":"inanhkn/analysis","owner":{"login":"inanhkn","id":5778377,"avatar_url":"https://avatars.githubusercontent.com/u/5778377?v=3","gravatar_id":"","url":"https://api.github.com/users/inanhkn","html_url":"https://github.com/inanhkn","followers_url":"https://api.github.com/users/inanhkn/followers","following_url":"https://api.github.com/users/inanhkn/following{/other_user}","gists_url":"https://api.github.com/users/inanhkn/gists{/gist_id}","starred_url":"https://api.github.com/users/inanhkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inanhkn/subscriptions","organizations_url":"https://api.github.com/users/inanhkn/orgs","repos_url":"https://api.github.com/users/inanhkn/repos","events_url":"https://api.github.com/users/inanhkn/events{/privacy}","received_events_url":"https://api.github.com/users/inanhkn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inanhkn/analysis","description":"","fork":false,"url":"https://api.github.com/repos/inanhkn/analysis","forks_url":"https://api.github.com/repos/inanhkn/analysis/forks","keys_url":"https://api.github.com/repos/inanhkn/analysis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inanhkn/analysis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inanhkn/analysis/teams","hooks_url":"https://api.github.com/repos/inanhkn/analysis/hooks","issue_events_url":"https://api.github.com/repos/inanhkn/analysis/issues/events{/number}","events_url":"https://api.github.com/repos/inanhkn/analysis/events","assignees_url":"https://api.github.com/repos/inanhkn/analysis/assignees{/user}","branches_url":"https://api.github.com/repos/inanhkn/analysis/branches{/branch}","tags_url":"https://api.github.com/repos/inanhkn/analysis/tags","blobs_url":"https://api.github.com/repos/inanhkn/analysis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inanhkn/analysis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inanhkn/analysis/git/refs{/sha}","trees_url":"https://api.github.com/repos/inanhkn/analysis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inanhkn/analysis/statuses/{sha}","languages_url":"https://api.github.com/repos/inanhkn/analysis/languages","stargazers_url":"https://api.github.com/repos/inanhkn/analysis/stargazers","contributors_url":"https://api.github.com/repos/inanhkn/analysis/contributors","subscribers_url":"https://api.github.com/repos/inanhkn/analysis/subscribers","subscription_url":"https://api.github.com/repos/inanhkn/analysis/subscription","commits_url":"https://api.github.com/repos/inanhkn/analysis/commits{/sha}","git_commits_url":"https://api.github.com/repos/inanhkn/analysis/git/commits{/sha}","comments_url":"https://api.github.com/repos/inanhkn/analysis/comments{/number}","issue_comment_url":"https://api.github.com/repos/inanhkn/analysis/issues/comments{/number}","contents_url":"https://api.github.com/repos/inanhkn/analysis/contents/{+path}","compare_url":"https://api.github.com/repos/inanhkn/analysis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inanhkn/analysis/merges","archive_url":"https://api.github.com/repos/inanhkn/analysis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inanhkn/analysis/downloads","issues_url":"https://api.github.com/repos/inanhkn/analysis/issues{/number}","pulls_url":"https://api.github.com/repos/inanhkn/analysis/pulls{/number}","milestones_url":"https://api.github.com/repos/inanhkn/analysis/milestones{/number}","notifications_url":"https://api.github.com/repos/inanhkn/analysis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inanhkn/analysis/labels{/name}","releases_url":"https://api.github.com/repos/inanhkn/analysis/releases{/id}","created_at":"2014-12-11T23:21:49Z","updated_at":"2015-03-08T01:28:56Z","pushed_at":"2015-03-09T20:24:03Z","git_url":"git://github.com/inanhkn/analysis.git","ssh_url":"git@github.com:inanhkn/analysis.git","clone_url":"https://github.com/inanhkn/analysis.git","svn_url":"https://github.com/inanhkn/analysis","homepage":null,"size":1400,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/58"},"html":{"href":"https://github.com/inanhkn/analysis/pull/58"},"issue":{"href":"https://api.github.com/repos/inanhkn/analysis/issues/58"},"comments":{"href":"https://api.github.com/repos/inanhkn/analysis/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/inanhkn/analysis/statuses/74b18b7c0c839b907a5a7796785bb0a3af2c249d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":87,"deletions":0,"changed_files":1}}