{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/414","labels_url":"https://api.github.com/repos/nengo/nengo_gui/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo_gui/issues/414/comments","events_url":"https://api.github.com/repos/nengo/nengo_gui/issues/414/events","html_url":"https://github.com/nengo/nengo_gui/issues/414","id":88258525,"number":414,"title":"Make it easier to give nodes a semantic pointer value","user":{"login":"Seanny123","id":1918825,"avatar_url":"https://avatars.githubusercontent.com/u/1918825?v=3","gravatar_id":"","url":"https://api.github.com/users/Seanny123","html_url":"https://github.com/Seanny123","followers_url":"https://api.github.com/users/Seanny123/followers","following_url":"https://api.github.com/users/Seanny123/following{/other_user}","gists_url":"https://api.github.com/users/Seanny123/gists{/gist_id}","starred_url":"https://api.github.com/users/Seanny123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seanny123/subscriptions","organizations_url":"https://api.github.com/users/Seanny123/orgs","repos_url":"https://api.github.com/users/Seanny123/repos","events_url":"https://api.github.com/users/Seanny123/events{/privacy}","received_events_url":"https://api.github.com/users/Seanny123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nengo/nengo_gui/labels/discussion","name":"discussion","color":"207de5"},{"url":"https://api.github.com/repos/nengo/nengo_gui/labels/feature%20request","name":"feature request","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-14T22:29:38Z","updated_at":"2015-06-14T22:35:42Z","closed_at":null,"body":"When developing and debugging a SPA network it's nice to have some default values being input every time you run your simulation. This can be done with either `spa.Inputs` or `nengo.Node` however there are disadvantages to either of these approaches.\r\n\r\n- `spa.Inputs` has to be connected with `spa.CorticalActions` which is a bit unfriendly\r\n- `nengo.Node` can't parse SPA vocab values if you want to set it to a new value\r\n\r\nWhich one of these approaches should be made friendlier?"},"comment":{"url":"https://api.github.com/repos/nengo/nengo_gui/issues/comments/111880578","html_url":"https://github.com/nengo/nengo_gui/issues/414#issuecomment-111880578","issue_url":"https://api.github.com/repos/nengo/nengo_gui/issues/414","id":111880578,"user":{"login":"tcstewar","id":2380772,"avatar_url":"https://avatars.githubusercontent.com/u/2380772?v=3","gravatar_id":"","url":"https://api.github.com/users/tcstewar","html_url":"https://github.com/tcstewar","followers_url":"https://api.github.com/users/tcstewar/followers","following_url":"https://api.github.com/users/tcstewar/following{/other_user}","gists_url":"https://api.github.com/users/tcstewar/gists{/gist_id}","starred_url":"https://api.github.com/users/tcstewar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcstewar/subscriptions","organizations_url":"https://api.github.com/users/tcstewar/orgs","repos_url":"https://api.github.com/users/tcstewar/repos","events_url":"https://api.github.com/users/tcstewar/events{/privacy}","received_events_url":"https://api.github.com/users/tcstewar/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T22:35:42Z","updated_at":"2015-06-14T22:35:42Z","body":"Hmm, ```spa.Inputs``` is supposed to be like this, and shouldn't require a ```CorticalActions```.  Here's how I use it:\r\n\r\n```python\r\n    model.value = spa.Buffer(dimensions=32)\r\n    \r\n    def my_input(t):\r\n        if t < 0.1:\r\n            return 'CAT'\r\n        elif 0.1 < t < 0.2:\r\n            return 'DOG'\r\n        else:\r\n            return '0'\r\n    model.input = spa.Input(value=my_input)\r\n```\r\n\r\n"}}