{"id":18850945,"url":"https://github.com/igitugraz/spikedetectorfuse","last_synced_at":"2026-02-03T14:30:16.850Z","repository":{"id":92056029,"uuid":"86089900","full_name":"IGITUGraz/SpikeDetectorFuse","owner":"IGITUGraz","description":"The nest module that implements a spike detector that terminates the simulation on large spiking","archived":false,"fork":false,"pushed_at":"2017-07-05T12:56:56.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-30T15:56:04.915Z","etag":null,"topics":["nest-module"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IGITUGraz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-24T16:41:32.000Z","updated_at":"2017-09-27T12:51:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec4e0f69-f305-4d77-9c11-9f07d3ca3fa8","html_url":"https://github.com/IGITUGraz/SpikeDetectorFuse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2FSpikeDetectorFuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2FSpikeDetectorFuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2FSpikeDetectorFuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IGITUGraz%2FSpikeDetectorFuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IGITUGraz","download_url":"https://codeload.github.com/IGITUGraz/SpikeDetectorFuse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239787521,"owners_count":19697031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nest-module"],"created_at":"2024-11-08T03:32:44.165Z","updated_at":"2026-02-03T14:30:16.780Z","avatar_url":"https://github.com/IGITUGraz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spike Detector Fuse for NEST\nThis module monitors the spiking activity of the network, and throws a python exception if the spiking activity goes\nbeyond the given threshold for the given length of time. See the [comments in the\ncode](https://github.com/IGITUGraz/SpikeDetectorFuse/blob/master/spike_detector_fuse.h#L39) for more details.\n\nIt is a module for the [NEST simulator](http://www.nest-simulator.org). \n\n# Installation\nWith the appropriate `nest-config` in your PATH run `./install.sh` in the root directory.\n\nOnce the installation is done, add `/path/to/nest/installation/lib/nest/` to your `LD_LIBRARY_PATH` environment\nvariable.\n\n# Usage\n```\nimport nest\nnest.Install('spikedetfusemodule')\n...  # Create your neurons and connect up your network\nspike_det = nest.Create('spike_detector_fuse')\nnest.Connect(neurons, spike_det)\n# Setting termination criterion\nnest.SetStatus(spike_det, {'frequency_thresh':200.0, 'length_thresh':50.0, 'n_connected_neurons':len(exc_neurons)})\n...  # Run your simulation\ntry:\n    nest.Simulate(200)\nexcept nest.NESTError as E:\n    E_msg = E.args[0]\n    if E_msg.startswith('UnstableSpiking'):\n        print(E_msg)\n    else:\n        raise\n```\nIn this example, if your average network activity stays beyond 200Hz for longer than 50ms, a nest.NESTError will be\nthrown with message 'UnstableSpiking in Simulate_d: The Network seems to be in a regime of unstable spiking, terminating\nsimulation'\n\n# Important notes\n* nest.Simulate() cannot be run again without resetting the kernel by running nest.ResetKernel() once an unstable spiking exception is thrown\n* Data upto the simulation slice where the exception is thrown can be safely retrieved and parsed even if the above exception is thrown.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figitugraz%2Fspikedetectorfuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figitugraz%2Fspikedetectorfuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figitugraz%2Fspikedetectorfuse/lists"}