{"action":"created","issue":{"url":"https://api.github.com/repos/kwikteam/phy/issues/609","labels_url":"https://api.github.com/repos/kwikteam/phy/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/kwikteam/phy/issues/609/comments","events_url":"https://api.github.com/repos/kwikteam/phy/issues/609/events","html_url":"https://github.com/kwikteam/phy/issues/609","id":98733960,"number":609,"title":"Template matching model","user":{"login":"rossant","id":1942359,"avatar_url":"https://avatars.githubusercontent.com/u/1942359?v=3","gravatar_id":"","url":"https://api.github.com/users/rossant","html_url":"https://github.com/rossant","followers_url":"https://api.github.com/users/rossant/followers","following_url":"https://api.github.com/users/rossant/following{/other_user}","gists_url":"https://api.github.com/users/rossant/gists{/gist_id}","starred_url":"https://api.github.com/users/rossant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossant/subscriptions","organizations_url":"https://api.github.com/users/rossant/orgs","repos_url":"https://api.github.com/users/rossant/repos","events_url":"https://api.github.com/users/rossant/events{/privacy}","received_events_url":"https://api.github.com/users/rossant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kwikteam/phy/labels/component:%20io","name":"component: io","color":"c6dbef"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kwikteam/phy/milestones/10","html_url":"https://github.com/kwikteam/phy/milestones/Template%20matching%20GUI","labels_url":"https://api.github.com/repos/kwikteam/phy/milestones/10/labels","id":1190592,"number":10,"title":"Template matching GUI","description":"","creator":{"login":"rossant","id":1942359,"avatar_url":"https://avatars.githubusercontent.com/u/1942359?v=3","gravatar_id":"","url":"https://api.github.com/users/rossant","html_url":"https://github.com/rossant","followers_url":"https://api.github.com/users/rossant/followers","following_url":"https://api.github.com/users/rossant/following{/other_user}","gists_url":"https://api.github.com/users/rossant/gists{/gist_id}","starred_url":"https://api.github.com/users/rossant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossant/subscriptions","organizations_url":"https://api.github.com/users/rossant/orgs","repos_url":"https://api.github.com/users/rossant/repos","events_url":"https://api.github.com/users/rossant/events{/privacy}","received_events_url":"https://api.github.com/users/rossant/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1,"state":"open","created_at":"2015-07-02T13:32:39Z","updated_at":"2015-08-03T12:32:54Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-03T12:32:54Z","updated_at":"2015-08-03T12:46:26Z","closed_at":null,"body":"* [ ] create the following class in `phy/io/spyking_circus/model.py` (or whatever name you want to give to your data...)\r\n\r\n```\r\nTemplateModel\r\n    n_spikes  # property with the number of spikes\r\n    spike_times: float64 in seconds\r\n    spike_clusters: int32\r\n    metadata: dict with experiment metadata\r\n    open(path)\r\n    save():  # save self.spike_clusters to disk (override the existing files)\r\n```\r\n\r\n* [ ] add unit tests in `phy/io/spyking_circus/tests/test_model.py` (fake random data in the adequate format must be created in fixtures, see tests in `phy/io/kwik/tests`)\r\n* [ ] the commands `py.test phy/io/spikying_circus -s` should pass as well as `make test`\r\n"},"comment":{"url":"https://api.github.com/repos/kwikteam/phy/issues/comments/127220320","html_url":"https://github.com/kwikteam/phy/issues/609#issuecomment-127220320","issue_url":"https://api.github.com/repos/kwikteam/phy/issues/609","id":127220320,"user":{"login":"rossant","id":1942359,"avatar_url":"https://avatars.githubusercontent.com/u/1942359?v=3","gravatar_id":"","url":"https://api.github.com/users/rossant","html_url":"https://github.com/rossant","followers_url":"https://api.github.com/users/rossant/followers","following_url":"https://api.github.com/users/rossant/following{/other_user}","gists_url":"https://api.github.com/users/rossant/gists{/gist_id}","starred_url":"https://api.github.com/users/rossant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossant/subscriptions","organizations_url":"https://api.github.com/users/rossant/orgs","repos_url":"https://api.github.com/users/rossant/repos","events_url":"https://api.github.com/users/rossant/events{/privacy}","received_events_url":"https://api.github.com/users/rossant/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T12:46:26Z","updated_at":"2015-08-03T12:46:26Z","body":"@yger you can try to tackle this\r\nsee [this page](https://github.com/kwikteam/phy/blob/master/CONTRIBUTE.md) for details about how to contribute\r\nbasically, you have to fork the repo, create a new branch, and propose a pull request"}}