{"action":"created","issue":{"url":"https://api.github.com/repos/losonczylab/sima/issues/30","labels_url":"https://api.github.com/repos/losonczylab/sima/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/losonczylab/sima/issues/30/comments","events_url":"https://api.github.com/repos/losonczylab/sima/issues/30/events","html_url":"https://github.com/losonczylab/sima/issues/30","id":44989299,"number":30,"title":"ROI mask interface","user":{"login":"pkaifosh","id":1556515,"avatar_url":"https://avatars.githubusercontent.com/u/1556515?v=3","gravatar_id":"","url":"https://api.github.com/users/pkaifosh","html_url":"https://github.com/pkaifosh","followers_url":"https://api.github.com/users/pkaifosh/followers","following_url":"https://api.github.com/users/pkaifosh/following{/other_user}","gists_url":"https://api.github.com/users/pkaifosh/gists{/gist_id}","starred_url":"https://api.github.com/users/pkaifosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkaifosh/subscriptions","organizations_url":"https://api.github.com/users/pkaifosh/orgs","repos_url":"https://api.github.com/users/pkaifosh/repos","events_url":"https://api.github.com/users/pkaifosh/events{/privacy}","received_events_url":"https://api.github.com/users/pkaifosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/losonczylab/sima/milestones/1","labels_url":"https://api.github.com/repos/losonczylab/sima/milestones/1/labels","id":792365,"number":1,"title":"SIMA 1.0.0","description":"New version of SIMA supporting 3D imaging data.","creator":{"login":"pkaifosh","id":1556515,"avatar_url":"https://avatars.githubusercontent.com/u/1556515?v=3","gravatar_id":"","url":"https://api.github.com/users/pkaifosh","html_url":"https://github.com/pkaifosh","followers_url":"https://api.github.com/users/pkaifosh/followers","following_url":"https://api.github.com/users/pkaifosh/following{/other_user}","gists_url":"https://api.github.com/users/pkaifosh/gists{/gist_id}","starred_url":"https://api.github.com/users/pkaifosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkaifosh/subscriptions","organizations_url":"https://api.github.com/users/pkaifosh/orgs","repos_url":"https://api.github.com/users/pkaifosh/repos","events_url":"https://api.github.com/users/pkaifosh/events{/privacy}","received_events_url":"https://api.github.com/users/pkaifosh/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":15,"state":"open","created_at":"2014-09-16T22:34:03Z","updated_at":"2015-01-27T18:40:21Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-10-06T14:25:40Z","updated_at":"2015-01-27T18:40:21Z","closed_at":"2015-01-27T18:40:21Z","body":"We should rethink the interface for the ROI masks. Currently, the are returned as a list of 2D sparse arrays, which makes them a little awkward to work with. It's okay if we store them that way, but they are interfaced should be independent of how they are stored. Ideally they should have the same interface as a numpy array."},"comment":{"url":"https://api.github.com/repos/losonczylab/sima/issues/comments/71702539","html_url":"https://github.com/losonczylab/sima/issues/30#issuecomment-71702539","issue_url":"https://api.github.com/repos/losonczylab/sima/issues/30","id":71702539,"user":{"login":"pkaifosh","id":1556515,"avatar_url":"https://avatars.githubusercontent.com/u/1556515?v=3","gravatar_id":"","url":"https://api.github.com/users/pkaifosh","html_url":"https://github.com/pkaifosh","followers_url":"https://api.github.com/users/pkaifosh/followers","following_url":"https://api.github.com/users/pkaifosh/following{/other_user}","gists_url":"https://api.github.com/users/pkaifosh/gists{/gist_id}","starred_url":"https://api.github.com/users/pkaifosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkaifosh/subscriptions","organizations_url":"https://api.github.com/users/pkaifosh/orgs","repos_url":"https://api.github.com/users/pkaifosh/repos","events_url":"https://api.github.com/users/pkaifosh/events{/privacy}","received_events_url":"https://api.github.com/users/pkaifosh/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T18:40:21Z","updated_at":"2015-01-27T18:40:21Z","body":"I'm adding an __array__() method to the ROI class, which gets called when any numpy function tries to work with an ROI. That should make it sufficiently simple to interface with the ROI class."}}