{"action":"created","comment":{"url":"https://api.github.com/repos/inanhkn/analysis/pulls/comments/25662963","id":25662963,"diff_hunk":"@@ -0,0 +1,42 @@\n+function mouse_path_plotter( movie, centroids_mat)\n+% Plots the path of the mouse during each trial based on position data and\n+% trial frames extracted from behavior movie\n+% \n+% Input:\n+%     movie: Behavior video\n+%     centroids_mat: position data from get_mouse_XY_pos\n+%\n+% \n+% 2015-03-01 Fori Wang\n+\n+    % find trial start and ends\n+    [trial_frames,~]=find_start_end_of_trials(centroids_mat);","path":"behavior/MouseTracking/FindTrials/mouse_path_plotter.m","position":13,"original_position":13,"commit_id":"0122699b4ac1f009fd832af1165aac60cf1aa4ea","original_commit_id":"0122699b4ac1f009fd832af1165aac60cf1aa4ea","user":{"login":"kimtonyhyun","id":2081503,"avatar_url":"https://avatars.githubusercontent.com/u/2081503?v=3","gravatar_id":"","url":"https://api.github.com/users/kimtonyhyun","html_url":"https://github.com/kimtonyhyun","followers_url":"https://api.github.com/users/kimtonyhyun/followers","following_url":"https://api.github.com/users/kimtonyhyun/following{/other_user}","gists_url":"https://api.github.com/users/kimtonyhyun/gists{/gist_id}","starred_url":"https://api.github.com/users/kimtonyhyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimtonyhyun/subscriptions","organizations_url":"https://api.github.com/users/kimtonyhyun/orgs","repos_url":"https://api.github.com/users/kimtonyhyun/repos","events_url":"https://api.github.com/users/kimtonyhyun/events{/privacy}","received_events_url":"https://api.github.com/users/kimtonyhyun/received_events","type":"User","site_admin":false},"body":"This function should allow the user to specify a PlusMaze text file. If the behavior video and the text file are aligned, then the trial frame indices from the text file provide perfect knowledge into the trial boundaries. The function should try to recover trial frames through `find_start_end_of_trials` only if the plus maze text file is not provided.","created_at":"2015-03-03T04:37:45Z","updated_at":"2015-03-03T04:37:45Z","html_url":"https://github.com/inanhkn/analysis/pull/41#discussion_r25662963","pull_request_url":"https://api.github.com/repos/inanhkn/analysis/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/comments/25662963"},"html":{"href":"https://github.com/inanhkn/analysis/pull/41#discussion_r25662963"},"pull_request":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/inanhkn/analysis/pulls/41","id":30341672,"html_url":"https://github.com/inanhkn/analysis/pull/41","diff_url":"https://github.com/inanhkn/analysis/pull/41.diff","patch_url":"https://github.com/inanhkn/analysis/pull/41.patch","issue_url":"https://api.github.com/repos/inanhkn/analysis/issues/41","number":41,"state":"open","locked":false,"title":"Fori2","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":"","created_at":"2015-03-03T02:33:15Z","updated_at":"2015-03-03T04:37:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dad285700240e45142e222f6c465eaa9171246e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inanhkn/analysis/pulls/41/commits","review_comments_url":"https://api.github.com/repos/inanhkn/analysis/pulls/41/comments","review_comment_url":"https://api.github.com/repos/inanhkn/analysis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inanhkn/analysis/issues/41/comments","statuses_url":"https://api.github.com/repos/inanhkn/analysis/statuses/0122699b4ac1f009fd832af1165aac60cf1aa4ea","head":{"label":"inanhkn:fori2","ref":"fori2","sha":"0122699b4ac1f009fd832af1165aac60cf1aa4ea","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-03T01:07:13Z","pushed_at":"2015-03-03T03:52:39Z","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":1124,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"inanhkn:master","ref":"master","sha":"c738dabee51a92945a7117bb8beb271e44d0114e","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-03T01:07:13Z","pushed_at":"2015-03-03T03:52:39Z","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":1124,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/41"},"html":{"href":"https://github.com/inanhkn/analysis/pull/41"},"issue":{"href":"https://api.github.com/repos/inanhkn/analysis/issues/41"},"comments":{"href":"https://api.github.com/repos/inanhkn/analysis/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/inanhkn/analysis/statuses/0122699b4ac1f009fd832af1165aac60cf1aa4ea"}}}}