{"action":"closed","number":102,"pull_request":{"url":"https://api.github.com/repos/inanhkn/analysis/pulls/102","id":42496260,"html_url":"https://github.com/inanhkn/analysis/pull/102","diff_url":"https://github.com/inanhkn/analysis/pull/102.diff","patch_url":"https://github.com/inanhkn/analysis/pull/102.patch","issue_url":"https://api.github.com/repos/inanhkn/analysis/issues/102","number":102,"state":"closed","locked":false,"title":"Kimth/ds rasters","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":"Added a \"raster browser\", to allow for quick review of multiple cell rasters of a single day (i.e. of a single `DaySummary`). The tool can be used as follows.\r\n\r\nFirst, you need to have a classified `DaySummary` (the browser tool will only display rasters of confirmed/classified cells):\r\n```\r\n>> sources = data_sources\r\n\r\nsources = \r\n\r\n         maze: '_data/c11m3d15_ti2.txt'\r\n    miniscope: '_data/c11m3d15_gfix_cr_rm_mc_cr_norm_dff_ti2.hdf5'\r\n          pca: '_data/pca_n700.mat'\r\n          fps: 10\r\n\r\n>> m3d15 = DaySummary(sources.maze, 'rec001', 'reconst', 'excludeprobe');\r\n  14-Aug-2015 13:31:30: Loaded data from rec001/rec_150813-115003.mat\r\n  14-Aug-2015 13:31:30: Loaded classification from rec001/class_150813-115320.txt\r\n```\r\n\r\nThe raster browser can be invoked by the following:\r\n```\r\n>> browse_rasters(m3d15);\r\n```\r\nwhich yields the following figure:\r\n![browse_page1](https://cloud.githubusercontent.com/assets/2081503/9283591/c6f011ca-4289-11e5-9e20-a8990e27361f.png)\r\n(The number of subplots per page is configurable, and may be added as a configurable option in the future.)\r\n\r\nYou are also asked for a response in the prompt:\r\n```\r\nRaster viewer (page 1 of 25) >> \r\n```\r\n\r\nFor instance, you can type `n` for \"next page\" (or `p` for \"previous page\"):\r\n```\r\nRaster viewer (page 1 of 25) >> n\r\nRaster viewer (page 2 of 25) >> \r\n```\r\nwhich shows the following page of rasters:\r\n![browse_page2](https://cloud.githubusercontent.com/assets/2081503/9283647/3a6138c8-428a-11e5-821c-4fa8ed1f9783.png)\r\n\r\nYou can also jump to a particular cell index by typing the number directly. Below, we jump to the page that contains cell 62:\r\n```\r\nRaster viewer (page 3 of 25) >> 62\r\n  Cell 62 selected!\r\nRaster viewer (page 10 of 25) >> \r\n```\r\n![browse_page10](https://cloud.githubusercontent.com/assets/2081503/9283670/5d1ff8d6-428a-11e5-9c10-8fba89f8c1a7.png)\r\n\r\nNow, if you ask for a cell index that is already in the currently displayed page (i.e. cell 62 again in the current example), you will be shown a detailed raster plot of that particular cell:\r\n```\r\nRaster viewer (page 10 of 25) >> 62\r\n  Cell 62 selected!\r\n  Press any key to return to all cells...\r\n```\r\n![cell62](https://cloud.githubusercontent.com/assets/2081503/9283719/9ed5cf4e-428a-11e5-8545-4d57d8bd905d.png)\r\n\r\nThe idea with the single-cell rasters to see if the activity can be easily parsed in the basis of:\r\n- Trial correctness / incorrectness\r\n- Start location (east / west)\r\n- End location (south / north)\r\nFor example, I would argue that cell 62 in the current example do not have a \"simple\" explanation in terms of the above three bases.\r\n\r\nYou can return to all rasters by pressing any key to escape from the single cell raster viewer.\r\n","created_at":"2015-08-14T20:46:54Z","updated_at":"2015-08-27T18:31:43Z","closed_at":"2015-08-27T18:31:43Z","merged_at":"2015-08-27T18:31:43Z","merge_commit_sha":"98f5d582631e9df855a1fea94ce76127356f6671","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/inanhkn/analysis/pulls/102/commits","review_comments_url":"https://api.github.com/repos/inanhkn/analysis/pulls/102/comments","review_comment_url":"https://api.github.com/repos/inanhkn/analysis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inanhkn/analysis/issues/102/comments","statuses_url":"https://api.github.com/repos/inanhkn/analysis/statuses/2b3b662ecadc8a76992481a8d877488a3094b6db","head":{"label":"inanhkn:kimth/ds-rasters","ref":"kimth/ds-rasters","sha":"2b3b662ecadc8a76992481a8d877488a3094b6db","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-04-28T16:46:49Z","pushed_at":"2015-08-27T18:31:43Z","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":2036,"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":"459ba37c780e71a894411ffb4c1e074b20ef55e2","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-04-28T16:46:49Z","pushed_at":"2015-08-27T18:31:43Z","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":2036,"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/102"},"html":{"href":"https://github.com/inanhkn/analysis/pull/102"},"issue":{"href":"https://api.github.com/repos/inanhkn/analysis/issues/102"},"comments":{"href":"https://api.github.com/repos/inanhkn/analysis/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inanhkn/analysis/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/inanhkn/analysis/statuses/2b3b662ecadc8a76992481a8d877488a3094b6db"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":4,"review_comments":0,"commits":15,"additions":332,"deletions":44,"changed_files":5}}