{"action":"created","issue":{"url":"https://api.github.com/repos/brian-team/brian2/issues/632","labels_url":"https://api.github.com/repos/brian-team/brian2/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/brian-team/brian2/issues/632/comments","events_url":"https://api.github.com/repos/brian-team/brian2/issues/632/events","html_url":"https://github.com/brian-team/brian2/issues/632","id":127917069,"number":632,"title":"Brian Tutorial second attempt!","user":{"login":"rcaze","id":4049489,"avatar_url":"https://avatars.githubusercontent.com/u/4049489?v=3","gravatar_id":"","url":"https://api.github.com/users/rcaze","html_url":"https://github.com/rcaze","followers_url":"https://api.github.com/users/rcaze/followers","following_url":"https://api.github.com/users/rcaze/following{/other_user}","gists_url":"https://api.github.com/users/rcaze/gists{/gist_id}","starred_url":"https://api.github.com/users/rcaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcaze/subscriptions","organizations_url":"https://api.github.com/users/rcaze/orgs","repos_url":"https://api.github.com/users/rcaze/repos","events_url":"https://api.github.com/users/rcaze/events{/privacy}","received_events_url":"https://api.github.com/users/rcaze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-01-21T12:46:30Z","updated_at":"2016-01-26T16:48:39Z","closed_at":null,"body":"Dear all, \r\n\r\nI am working on the Brian tutorial and instead of using the HH to see spike I would like to use the hard threshold method, as it will be faster (for network simulation!).\r\n\r\nThe thresholding is already implemented in Brian and what I would like to do is to set a height for the generated spike (currently it is set to 0). For instance I would like to set the threshold to -50mV and create a spike that goes to 70mV and reset to -75mV almost immediatly (next time step). I would love to have an optional argument in `SpatialNeuron` that could be called `spike_height`.\r\n\r\nThis feature would not only be nice for plotting (to have beautiful spikes) but also for bAP that would backpropagate into the dendritic tree.\r\n\r\nAre all the elements already there in Brian? If no I am happy to fork and work on this feature. Where should I start to look? I looked a bit at the code and `SpatialNeuron` refers to `NeuronGroup` for the thresholding thing. "},"comment":{"url":"https://api.github.com/repos/brian-team/brian2/issues/comments/175110218","html_url":"https://github.com/brian-team/brian2/issues/632#issuecomment-175110218","issue_url":"https://api.github.com/repos/brian-team/brian2/issues/632","id":175110218,"user":{"login":"rcaze","id":4049489,"avatar_url":"https://avatars.githubusercontent.com/u/4049489?v=3","gravatar_id":"","url":"https://api.github.com/users/rcaze","html_url":"https://github.com/rcaze","followers_url":"https://api.github.com/users/rcaze/followers","following_url":"https://api.github.com/users/rcaze/following{/other_user}","gists_url":"https://api.github.com/users/rcaze/gists{/gist_id}","starred_url":"https://api.github.com/users/rcaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcaze/subscriptions","organizations_url":"https://api.github.com/users/rcaze/orgs","repos_url":"https://api.github.com/users/rcaze/repos","events_url":"https://api.github.com/users/rcaze/events{/privacy}","received_events_url":"https://api.github.com/users/rcaze/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T16:48:39Z","updated_at":"2016-01-26T16:48:39Z","body":"By the way the jump in dendritic voltage shows that the spike does propagate!"}}